mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
dashsink: Do not reset muxer only for TS
The MP4 needs to be reset to continue to produce segments. Closes #1015 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5403>
This commit is contained in:
parent
8004b1650a
commit
2644b3608f
1 changed files with 4 additions and 1 deletions
|
@ -675,9 +675,12 @@ gst_dash_sink_add_splitmuxsink (GstDashSink * sink, GstDashSinkStream * stream)
|
|||
g_object_set (stream->splitmuxsink, "location", NULL,
|
||||
"max-size-time", ((GstClockTime) sink->target_duration * GST_SECOND),
|
||||
"send-keyframe-requests", TRUE, "muxer", mux, "sink",
|
||||
stream->giostreamsink, "reset-muxer", FALSE, "send-keyframe-requests",
|
||||
stream->giostreamsink, "send-keyframe-requests",
|
||||
sink->send_keyframe_requests, NULL);
|
||||
|
||||
if (sink->muxer == GST_DASH_SINK_MUXER_TS)
|
||||
g_object_set (stream->splitmuxsink, "reset-muxer", FALSE, NULL);
|
||||
|
||||
g_signal_connect (stream->splitmuxsink, "format-location",
|
||||
G_CALLBACK (on_format_location), stream);
|
||||
|
||||
|
|
Loading…
Reference in a new issue