From f79a7afac2413687705ba9ddb999b4914404c68b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Wed, 15 Feb 2017 16:35:01 -0500 Subject: [PATCH] splitmuxsink: Reset ready_for_output on state change https://bugzilla.gnome.org/show_bug.cgi?id=761761 --- gst/multifile/gstsplitmuxsink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c index 919361438b..4f8865bd41 100644 --- a/gst/multifile/gstsplitmuxsink.c +++ b/gst/multifile/gstsplitmuxsink.c @@ -2127,6 +2127,7 @@ gst_splitmux_sink_change_state (GstElement * element, GstStateChange transition) splitmux->gop_start_time = splitmux->fragment_start_time = GST_CLOCK_STIME_NONE; splitmux->muxed_out_bytes = 0; + splitmux->ready_for_output = FALSE; GST_SPLITMUX_UNLOCK (splitmux); break; }