summaryrefslogtreecommitdiff
path: root/ext/libswscale
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-03-11 12:56:29 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-03-11 12:56:29 +0100
commit2df7d3e960d71045da096e67225b008005b4576e (patch)
treeedb1d72febf29ccdd81873a4063af62a2543120d /ext/libswscale
parent916d1a8b8d5f447b16992d3211da0c0d6ba5aff8 (diff)
pixfmt: Stop using PIX_FMT that were marked as deprecated 3 years ago.
It still worked... until the 0.5 ffmpeg release, which made those defines unused. See the bottom of libavutil/pixfmt.h for more details.
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;