Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
00a452a9
Commit
00a452a9
authored
Oct 16, 2014
by
Giorgio Vazzana
Committed by
Michael Niedermayer
Apr 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavd/v4l2: print buffer flags in case of error
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
8e985b72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
v4l2.c
libavdevice/v4l2.c
+2
-2
No files found.
libavdevice/v4l2.c
View file @
00a452a9
...
...
@@ -528,8 +528,8 @@ static int mmap_read_frame(AVFormatContext *ctx, AVPacket *pkt)
if
(
s
->
frame_size
>
0
&&
buf
.
bytesused
!=
s
->
frame_size
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"The v4l2 frame is %d bytes, but %d bytes are expected
\n
"
,
buf
.
bytesused
,
s
->
frame_size
);
"The v4l2 frame is %d bytes, but %d bytes are expected
. Flags: 0x%08X
\n
"
,
buf
.
bytesused
,
s
->
frame_size
,
buf
.
flags
);
enqueue_buffer
(
s
,
&
buf
);
return
AVERROR_INVALIDDATA
;
}
...
...
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