mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
splitmuxsink: Increment fragment_id even if no fragment location was provided
Applications might handle locations and generally configuration of the sink by themselves instead of having splitmuxsink set the location on the sink. Nonetheless it makes sense to increment the fragment_id that is passed to the signal so that applications know which fragment is requested.
This commit is contained in:
parent
9e0eb77810
commit
9f6ed9ec72
1 changed files with 2 additions and 2 deletions
|
@ -3175,9 +3175,9 @@ set_next_filename (GstSplitMuxSink * splitmux, MqStreamCtx * ctx)
|
|||
"location") != NULL)
|
||||
g_object_set (splitmux->sink, "location", fname, NULL);
|
||||
g_free (fname);
|
||||
|
||||
splitmux->fragment_id++;
|
||||
}
|
||||
|
||||
splitmux->fragment_id++;
|
||||
}
|
||||
|
||||
/* called with GST_SPLITMUX_LOCK */
|
||||
|
|
Loading…
Reference in a new issue