liveadder: remove dead code
From the 0.11 port Coverity 1139676
This commit is contained in:
parent
612cdeec80
commit
c5cb2fbe96
@ -1204,7 +1204,6 @@ gst_live_adder_loop (gpointer data)
|
|||||||
GstClockReturn ret;
|
GstClockReturn ret;
|
||||||
GstBuffer *buffer = NULL;
|
GstBuffer *buffer = NULL;
|
||||||
GstFlowReturn result;
|
GstFlowReturn result;
|
||||||
GstEvent *newseg_event = NULL;
|
|
||||||
|
|
||||||
GST_OBJECT_LOCK (adder);
|
GST_OBJECT_LOCK (adder);
|
||||||
|
|
||||||
@ -1312,9 +1311,6 @@ push_buffer:
|
|||||||
adder->next_timestamp = GST_CLOCK_TIME_NONE;
|
adder->next_timestamp = GST_CLOCK_TIME_NONE;
|
||||||
GST_OBJECT_UNLOCK (adder);
|
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
|
GST_LOG_OBJECT (adder, "About to push buffer time:%" GST_TIME_FORMAT
|
||||||
" duration:%" GST_TIME_FORMAT,
|
" duration:%" GST_TIME_FORMAT,
|
||||||
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer)),
|
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user