mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
libav: add support for 10 bits I420
See https://bugzilla.gnome.org/show_bug.cgi?id=665034
This commit is contained in:
parent
bcf8096944
commit
e38b00489f
1 changed files with 6 additions and 0 deletions
|
@ -1715,6 +1715,12 @@ gst_ffmpeg_pixfmt_to_video_format (enum PixelFormat pix_fmt)
|
|||
case PIX_FMT_GRAY8:
|
||||
fmt = GST_VIDEO_FORMAT_GRAY8;
|
||||
break;
|
||||
case PIX_FMT_YUV420P10LE:
|
||||
fmt = GST_VIDEO_FORMAT_I420_10LE;
|
||||
break;
|
||||
case PIX_FMT_YUV420P10BE:
|
||||
fmt = GST_VIDEO_FORMAT_I420_10BE;
|
||||
break;
|
||||
default:
|
||||
/* give up ... */
|
||||
fmt = GST_VIDEO_FORMAT_UNKNOWN;
|
||||
|
|
Loading…
Reference in a new issue