splitmuxsink: Remove unused muxed_out_time

https://bugzilla.gnome.org/show_bug.cgi?id=761761
This commit is contained in:
Olivier Crête 2017-02-15 15:07:32 -05:00
parent 488e8edba4
commit c98d932fb8
2 changed files with 2 additions and 7 deletions

View file

@ -932,10 +932,6 @@ handle_mq_output (GstPad * pad, GstPadProbeInfo * info, MqStreamCtx * ctx)
complete_or_wait_on_out (splitmux, ctx); complete_or_wait_on_out (splitmux, ctx);
if (splitmux->muxed_out_time == GST_CLOCK_STIME_NONE ||
splitmux->muxed_out_time < buf_info->run_ts)
splitmux->muxed_out_time = buf_info->run_ts;
splitmux->muxed_out_bytes += buf_info->buf_size; splitmux->muxed_out_bytes += buf_info->buf_size;
#ifndef GST_DISABLE_GST_DEBUG #ifndef GST_DISABLE_GST_DEBUG
@ -2128,8 +2124,8 @@ gst_splitmux_sink_change_state (GstElement * element, GstStateChange transition)
splitmux->input_state = SPLITMUX_INPUT_STATE_COLLECTING_GOP_START; splitmux->input_state = SPLITMUX_INPUT_STATE_COLLECTING_GOP_START;
splitmux->output_state = SPLITMUX_OUTPUT_STATE_START_NEXT_FILE; splitmux->output_state = SPLITMUX_OUTPUT_STATE_START_NEXT_FILE;
splitmux->max_in_running_time = GST_CLOCK_STIME_NONE; splitmux->max_in_running_time = GST_CLOCK_STIME_NONE;
splitmux->gop_start_time = splitmux->muxed_out_time = splitmux->gop_start_time = splitmux->fragment_start_time =
splitmux->fragment_start_time = GST_CLOCK_STIME_NONE; GST_CLOCK_STIME_NONE;
splitmux->muxed_out_bytes = 0; splitmux->muxed_out_bytes = 0;
GST_SPLITMUX_UNLOCK (splitmux); GST_SPLITMUX_UNLOCK (splitmux);
break; break;

View file

@ -152,7 +152,6 @@ struct _GstSplitMuxSink
GstClockTimeDiff max_out_running_time; GstClockTimeDiff max_out_running_time;
GstClockTimeDiff next_max_out_running_time; GstClockTimeDiff next_max_out_running_time;
GstClockTimeDiff muxed_out_time;
guint64 muxed_out_bytes; guint64 muxed_out_bytes;
MqStreamCtx *reference_ctx; MqStreamCtx *reference_ctx;