mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
applemedia: biplanar is actually NV12, not I420
D'oh!
This commit is contained in:
parent
d865feca82
commit
d10e029f51
5 changed files with 7 additions and 7 deletions
|
@ -37,7 +37,7 @@ GST_DEBUG_CATEGORY (gst_cel_video_src_debug);
|
|||
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
|
||||
GST_PAD_SRC,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("I420") ";"
|
||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("NV12") ";"
|
||||
GST_VIDEO_CAPS_YUV ("YUY2"))
|
||||
);
|
||||
|
||||
|
@ -727,8 +727,8 @@ gst_cel_video_src_parse_stream_format (GstCelVideoSrc * self,
|
|||
format->fourcc = GST_MAKE_FOURCC ('Y', 'U', 'Y', '2');
|
||||
break;
|
||||
case kYUV420vCodecType:
|
||||
format->video_format = GST_VIDEO_FORMAT_I420;
|
||||
format->fourcc = GST_MAKE_FOURCC ('I', '4', '2', '0');
|
||||
format->video_format = GST_VIDEO_FORMAT_NV12;
|
||||
format->fourcc = GST_MAKE_FOURCC ('N', 'V', '1', '2');
|
||||
break;
|
||||
default:
|
||||
goto unsupported_format;
|
||||
|
|
|
@ -94,7 +94,7 @@ gst_vtdec_base_init (GstVTDecClass * klass)
|
|||
GST_PAD_SRC,
|
||||
GST_PAD_ALWAYS,
|
||||
gst_caps_new_simple ("video/x-raw-yuv",
|
||||
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('I', '4', '2', '0'),
|
||||
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('N', 'V', '1', '2'),
|
||||
"width", GST_TYPE_INT_RANGE, min_width, max_width,
|
||||
"height", GST_TYPE_INT_RANGE, min_height, max_height,
|
||||
"framerate", GST_TYPE_FRACTION_RANGE,
|
||||
|
|
|
@ -112,7 +112,7 @@ gst_vtenc_base_init (GstVTEncClass * klass)
|
|||
GST_PAD_SINK,
|
||||
GST_PAD_ALWAYS,
|
||||
gst_caps_new_simple ("video/x-raw-yuv",
|
||||
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('I', '4', '2', '0'),
|
||||
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('N', 'V', '1', '2'),
|
||||
"width", GST_TYPE_INT_RANGE, min_width, max_width,
|
||||
"height", GST_TYPE_INT_RANGE, min_height, max_height,
|
||||
"framerate", GST_TYPE_FRACTION_RANGE,
|
||||
|
|
|
@ -57,7 +57,7 @@ static GstStaticPadTemplate vth264decbin_src_template =
|
|||
GST_STATIC_PAD_TEMPLATE ("src",
|
||||
GST_PAD_SRC,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("I420"))
|
||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("NV12"))
|
||||
);
|
||||
|
||||
#define TAA_VT_H264_DEC_BIN_GET_PRIVATE(obj) \
|
||||
|
|
|
@ -48,7 +48,7 @@ static GstStaticPadTemplate vth264encbin_sink_template =
|
|||
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("I420"))
|
||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("NV12"))
|
||||
);
|
||||
|
||||
static GstStaticPadTemplate vth264encbin_src_template =
|
||||
|
|
Loading…
Reference in a new issue