From c5cb2fbe961777e4ba661a300a5bbe70e72cffb8 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Wed, 9 Apr 2014 15:03:45 +0100 Subject: [PATCH] liveadder: remove dead code From the 0.11 port Coverity 1139676 --- gst/liveadder/liveadder.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c index f41de3fe19..83669c54da 100644 --- a/gst/liveadder/liveadder.c +++ b/gst/liveadder/liveadder.c @@ -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)),