mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
splitmuxsink: Update tracked running time before first fragment-opened
Before sending the first fragment-opened message on the bus, update the output_fragment_info structure so that the sent message correctly reports the initial running time. Fixes #3725 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7361>
This commit is contained in:
parent
c27d0842ce
commit
eb5b064145
1 changed files with 1 additions and 0 deletions
|
@ -2321,6 +2321,7 @@ start_next_fragment (GstSplitMuxSink * splitmux, MqStreamCtx * ctx)
|
||||||
g_list_foreach (splitmux->contexts, (GFunc) unlock_context, splitmux);
|
g_list_foreach (splitmux->contexts, (GFunc) unlock_context, splitmux);
|
||||||
g_list_foreach (splitmux->contexts, (GFunc) restart_context, splitmux);
|
g_list_foreach (splitmux->contexts, (GFunc) restart_context, splitmux);
|
||||||
|
|
||||||
|
update_output_fragment_info (splitmux);
|
||||||
send_fragment_opened_closed_msg (splitmux, TRUE, sink);
|
send_fragment_opened_closed_msg (splitmux, TRUE, sink);
|
||||||
|
|
||||||
/* FIXME: Is this always the correct next state? */
|
/* FIXME: Is this always the correct next state? */
|
||||||
|
|
Loading…
Reference in a new issue