summaryrefslogtreecommitdiff
path: root/ext/libswscale
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libswscale')
-rw-r--r--ext/libswscale/gstffmpegscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libswscale/gstffmpegscale.c b/ext/libswscale/gstffmpegscale.c
index 30ea557..8510a76 100644
--- a/ext/libswscale/gstffmpegscale.c
+++ b/ext/libswscale/gstffmpegscale.c
@@ -509,7 +509,7 @@ gst_ffmpeg_caps_to_pixfmt (const GstCaps * caps)
if (gst_structure_get_fourcc (structure, "format", &fourcc)) {
switch (fourcc) {
case GST_MAKE_FOURCC ('Y', 'U', 'Y', '2'):
- pix_fmt = PIX_FMT_YUV422;
+ pix_fmt = PIX_FMT_YUYV422;
break;
case GST_MAKE_FOURCC ('I', '4', '2', '0'):
pix_fmt = PIX_FMT_YUV420P;