The stream-format's "avc-sample" member is now called just "avc".
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);
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);
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 =