mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-26 16:06:52 +00:00
splitmuxsink: Also increment fragment IDs when no filename is configured on the sink
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8544>
This commit is contained in:
parent
6d83673132
commit
1d91616b3c
1 changed files with 1 additions and 1 deletions
|
@ -4070,8 +4070,8 @@ set_next_filename (GstSplitMuxSink * splitmux, MqStreamCtx * ctx)
|
||||||
g_object_set (splitmux->sink, "location", fname, NULL);
|
g_object_set (splitmux->sink, "location", fname, NULL);
|
||||||
}
|
}
|
||||||
g_free (fname);
|
g_free (fname);
|
||||||
splitmux->cur_fragment_id = splitmux->next_fragment_id;
|
|
||||||
}
|
}
|
||||||
|
splitmux->cur_fragment_id = splitmux->next_fragment_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* called with GST_SPLITMUX_LOCK */
|
/* called with GST_SPLITMUX_LOCK */
|
||||||
|
|
Loading…
Reference in a new issue