mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
vtdec: Remove dead code in switch statement
We never advertise these formats, so these cases will never be hit. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>
This commit is contained in:
parent
6aa80270dd
commit
d7f6f8172a
1 changed files with 0 additions and 6 deletions
|
@ -584,12 +584,6 @@ gst_vtdec_create_session (GstVtdec * vtdec, GstVideoFormat format,
|
||||||
case GST_VIDEO_FORMAT_NV12:
|
case GST_VIDEO_FORMAT_NV12:
|
||||||
cv_format = kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange;
|
cv_format = kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange;
|
||||||
break;
|
break;
|
||||||
case GST_VIDEO_FORMAT_UYVY:
|
|
||||||
cv_format = kCVPixelFormatType_422YpCbCr8;
|
|
||||||
break;
|
|
||||||
case GST_VIDEO_FORMAT_RGBA:
|
|
||||||
cv_format = kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange;
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
g_warn_if_reached ();
|
g_warn_if_reached ();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue