splitmuxsink: Reset ready_for_output on state change

https://bugzilla.gnome.org/show_bug.cgi?id=761761
This commit is contained in:
Olivier Crête 2017-02-15 16:35:01 -05:00
parent 5059b9b8c9
commit f79a7afac2

View 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;
}