Unified · Split
| @@ -528,8 +528,8 @@ static int mmap_read_frame(AVFormatContext *ctx, AVPacket *pkt) · 527 unmodified lines | |||
| 528 | 528 | ||
| 529 | if (s->frame_size > 0 && buf.bytesused != s->frame_size) { | 529 | if (s->frame_size > 0 && buf.bytesused != s->frame_size) { |
| 530 | av_log(ctx, AV_LOG_ERROR, | 530 | av_log(ctx, AV_LOG_ERROR, |
| 531 | "The v4l2 frame is %d bytes, but %d bytes are expected\n", | 531 | "The v4l2 frame is %d bytes, but %d bytes are expected. Flags: 0x%08X\n", |
| 532 | buf.bytesused, s->frame_size); | 532 | buf.bytesused, s->frame_size, buf.flags); |
| 533 | enqueue_buffer(s, &buf); | 533 | enqueue_buffer(s, &buf); |
| 534 | return AVERROR_INVALIDDATA; | 534 | return AVERROR_INVALIDDATA; |
| 535 | } | 535 | } |