applemedia: fix stream-format caps used for H.264

The stream-format's "avc-sample" member is now called just "avc".
This commit is contained in:
Ole André Vadla Ravnås 2010-11-04 14:24:36 +01:00
parent b873920eaa
commit 50c6e05924
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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 =