splitmuxsink: Reset ready_for_output on state change
authorOlivier Crête <olivier.crete@collabora.com>
Wed, 15 Feb 2017 21:35:01 +0000 (16:35 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Fri, 17 Feb 2017 20:11:02 +0000 (15:11 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=761761

gst/multifile/gstsplitmuxsink.c

index 9193614..4f8865b 100644 (file)
@@ -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;
     }