mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 11:08:34 +00:00
omxvideodec: Add support for NV12 / OMX_COLOR_FormatYUV420SemiPlanar
This commit is contained in:
parent
961445aa1b
commit
41feed55b7
1 changed files with 3 additions and 0 deletions
|
@ -450,6 +450,9 @@ gst_omx_video_dec_loop (GstOMXVideoDec * self)
|
|||
case OMX_COLOR_FormatYUV420Planar:
|
||||
state->format = GST_VIDEO_FORMAT_I420;
|
||||
break;
|
||||
case OMX_COLOR_FormatYUV420SemiPlanar:
|
||||
state->format = GST_VIDEO_FORMAT_NV12;
|
||||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue