summaryrefslogtreecommitdiff
path: root/ext/libswscale
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-05-31 13:43:48 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2012-05-31 13:55:44 +0200
commitc44eff6afb313ed3486f21a35953aeba80f54ef7 (patch)
tree3a376147936144814106060b39f5c7b7fbdf10f4 /ext/libswscale
parent38ede2422d84f9683d4eb9ad7c1507b7a65a41a3 (diff)
avdec: fix paletted formats
Pass the palette as the side data for AVPacket so that it is written in the second plane of output AVFrame.
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 63ffe14..31849ba 100644
--- a/ext/libswscale/gstffmpegscale.c
+++ b/ext/libswscale/gstffmpegscale.c
@@ -529,7 +529,7 @@ gst_ffmpeg_caps_to_pixfmt (const GstCaps * caps)
case GST_VIDEO_FORMAT_RGB15:
pix_fmt = PIX_FMT_RGB555;
break;
- case GST_VIDEO_FORMAT_RGB8_PALETTED:
+ case GST_VIDEO_FORMAT_RGB8P:
pix_fmt = PIX_FMT_PAL8;
break;
default: