Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
dc180cd8
Commit
dc180cd8
authored
Aug 22, 2019
by
Aman Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/v4l2_m2m_enc: log errno on v4l2_set_ext_ctrl failures
Signed-off-by:
Aman Gupta
<
aman@tmm1.net
>
parent
5e2436c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
v4l2_m2m_enc.c
libavcodec/v4l2_m2m_enc.c
+2
-2
No files found.
libavcodec/v4l2_m2m_enc.c
View file @
dc180cd8
...
...
@@ -58,10 +58,10 @@ static inline void v4l2_set_ext_ctrl(V4L2m2mContext *s, unsigned int id, signed
/* set ctrl*/
ctrl
.
value
=
value
;
ctrl
.
id
=
id
;
ctrl
.
id
=
id
;
if
(
ioctl
(
s
->
fd
,
VIDIOC_S_EXT_CTRLS
,
&
ctrls
)
<
0
)
av_log
(
s
->
avctx
,
AV_LOG_WARNING
,
"Failed to set %s
\n
"
,
name
);
av_log
(
s
->
avctx
,
AV_LOG_WARNING
,
"Failed to set %s
: %s
\n
"
,
name
,
strerror
(
errno
)
);
else
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"Encoder: %s = %d
\n
"
,
name
,
value
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment