diff --git a/sys/applemedia/vtdec.c b/sys/applemedia/vtdec.c index a323c3d9ef..cca78ebf4b 100644 --- a/sys/applemedia/vtdec.c +++ b/sys/applemedia/vtdec.c @@ -84,7 +84,7 @@ gst_vtdec_base_init (GstVTDecClass * klass) min_fps_n, min_fps_d, max_fps_n, max_fps_d, NULL); if (codec_details->format_id == kVTFormatH264) { gst_structure_set (gst_caps_get_structure (sink_caps, 0), - "stream-format", G_TYPE_STRING, "avc-sample", NULL); + "stream-format", G_TYPE_STRING, "avc", NULL); } sink_template = gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, sink_caps); diff --git a/sys/applemedia/vtenc.c b/sys/applemedia/vtenc.c index a2601db31b..932944a69e 100644 --- a/sys/applemedia/vtenc.c +++ b/sys/applemedia/vtenc.c @@ -126,7 +126,7 @@ gst_vtenc_base_init (GstVTEncClass * klass) min_fps_n, min_fps_d, max_fps_n, max_fps_d, NULL); if (codec_details->format_id == kVTFormatH264) { gst_structure_set (gst_caps_get_structure (src_caps, 0), - "stream-format", G_TYPE_STRING, "avc-sample", NULL); + "stream-format", G_TYPE_STRING, "avc", NULL); } src_template = gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS, src_caps); diff --git a/sys/applemedia/vth264decbin.c b/sys/applemedia/vth264decbin.c index 1872325fdb..e78c71d095 100644 --- a/sys/applemedia/vth264decbin.c +++ b/sys/applemedia/vth264decbin.c @@ -50,7 +50,7 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS ("video/x-h264, " - "stream-format = (string) { byte-stream, avc-sample }") + "stream-format = (string) { byte-stream, avc }") ); static GstStaticPadTemplate vth264decbin_src_template =