liveadder: remove dead code

From the 0.11 port

Coverity 1139676
This commit is contained in:
Vincent Penquerc'h 2014-04-09 15:03:45 +01:00
parent 612cdeec80
commit c5cb2fbe96

View file

@ -1204,7 +1204,6 @@ gst_live_adder_loop (gpointer data)
GstClockReturn ret;
GstBuffer *buffer = NULL;
GstFlowReturn result;
GstEvent *newseg_event = NULL;
GST_OBJECT_LOCK (adder);
@ -1312,9 +1311,6 @@ push_buffer:
adder->next_timestamp = GST_CLOCK_TIME_NONE;
GST_OBJECT_UNLOCK (adder);
if (newseg_event)
gst_pad_push_event (adder->srcpad, newseg_event);
GST_LOG_OBJECT (adder, "About to push buffer time:%" GST_TIME_FORMAT
" duration:%" GST_TIME_FORMAT,
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer)),