From 2df7d3e960d71045da096e67225b008005b4576e Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 11 Mar 2009 12:56:29 +0100 Subject: 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. --- ext/libswscale/gstffmpegscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/libswscale') 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; -- cgit v1.2.3