diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-11-19 09:34:30 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-11-19 09:34:30 +0100 |
commit | bf04f8b1d23d4fa9bcca90b67969f119eb62440f (patch) | |
tree | bbfa8098f4370e25da7fecb67eb4682d5eada907 | |
parent | 498c501b7236dbed096f7f24efe8028510ed65e3 (diff) |
ffmpegcolorspace: Fix shifts, we're having 10 bits per component, not 16
-rw-r--r-- | ext/ffmpeg/gstffmpegcodecmap.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index a26be03..db13f5d 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.c @@ -2268,6 +2268,13 @@ static const PixToFmt pixtofmttable[] = { /* GST_VIDEO_FORMAT_ARGB64, */ /* GST_VIDEO_FORMAT_AYUV64, */ /* GST_VIDEO_FORMAT_r210, */ + /* GST_VIDEO_FORMAT_ENCODED, */ + {GST_VIDEO_FORMAT_I420_10BE, PIX_FMT_YUV420P10BE}, + {GST_VIDEO_FORMAT_I420_10LE, PIX_FMT_YUV420P10LE}, + {GST_VIDEO_FORMAT_I422_10BE, PIX_FMT_YUV422P10BE}, + {GST_VIDEO_FORMAT_I422_10LE, PIX_FMT_YUV422P10LE}, + {GST_VIDEO_FORMAT_Y444_10BE, PIX_FMT_YUV444P10BE}, + {GST_VIDEO_FORMAT_Y444_10LE, PIX_FMT_YUV444P10LE} }; GstVideoFormat |