mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
oggmux: Start a new page for every CMML buffer
This commit is contained in:
parent
ecc9a28152
commit
981af36b71
1 changed files with 4 additions and 0 deletions
|
@ -878,6 +878,10 @@ gst_ogg_mux_get_headers (GstOggPadData * pad)
|
|||
} else {
|
||||
GST_LOG_OBJECT (thepad, "streamheader is not fixed list");
|
||||
}
|
||||
|
||||
/* Start a new page for every CMML buffer */
|
||||
if (gst_structure_has_name (structure, "text/x-cmml"))
|
||||
pad->always_flush_page = TRUE;
|
||||
} else if (gst_structure_has_name (structure, "video/x-dirac")) {
|
||||
res = g_list_append (res, pad->buffer);
|
||||
pad->buffer = pad->next_buffer;
|
||||
|
|
Loading…
Reference in a new issue