mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
matroska-demux: add stream-format and alignment properties for h264
This commit is contained in:
parent
ef0bc7558d
commit
02cb1dd7b5
1 changed files with 2 additions and 0 deletions
|
@ -6444,6 +6444,8 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
|
|||
gst_caps_set_simple (caps, "codec_data", GST_TYPE_BUFFER, priv, NULL);
|
||||
gst_buffer_unref (priv);
|
||||
|
||||
gst_caps_set_simple (caps, "stream-format", G_TYPE_STRING, "avc",
|
||||
"alignment", G_TYPE_STRING, "au", NULL);
|
||||
}
|
||||
*codec_name = g_strdup ("H264");
|
||||
} else if ((!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_REALVIDEO1)) ||
|
||||
|
|
Loading…
Reference in a new issue