summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/avformat/avformat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/avformat/avformat.c b/modules/avformat/avformat.c
index 5e134de..62bf6bd 100644
--- a/modules/avformat/avformat.c
+++ b/modules/avformat/avformat.c
@@ -151,6 +151,7 @@ static void handle_packet(struct vidsrc_st *st, AVPacket *pkt)
switch (frame->format) {
case AV_PIX_FMT_YUV420P:
+ case AV_PIX_FMT_YUVJ420P:
vf.fmt = VID_FMT_YUV420P;
break;