mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
matroskamux: Put codec_data as CodecPrivate for AV1
This commit is contained in:
parent
e3b14e345d
commit
d641b37fcb
1 changed files with 5 additions and 0 deletions
|
@ -1231,6 +1231,11 @@ skip_details:
|
|||
gst_matroska_mux_set_codec_id (context, GST_MATROSKA_CODEC_ID_VIDEO_VP9);
|
||||
} else if (!strcmp (mimetype, "video/x-av1")) {
|
||||
gst_matroska_mux_set_codec_id (context, GST_MATROSKA_CODEC_ID_VIDEO_AV1);
|
||||
gst_matroska_mux_free_codec_priv (context);
|
||||
/* Create av1C header */
|
||||
if (codec_buf != NULL)
|
||||
gst_buffer_extract_dup (codec_buf, 0, gst_buffer_get_size (codec_buf),
|
||||
&context->codec_priv, &context->codec_priv_size);
|
||||
} else if (!strcmp (mimetype, "video/mpeg")) {
|
||||
gint mpegversion;
|
||||
|
||||
|
|
Loading…
Reference in a new issue