From 2bf4a941791f738212e28a9b039d0ef845f11cf7 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Thu, 30 Oct 2014 14:49:05 +0000 Subject: [PATCH] videoaggregator: remove storage of never used values These two values are stored just before the function returns and they go out of scope. --- gst-libs/gst/video/gstvideoaggregator.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index e24bb212e4..b339a76b3e 100644 --- a/gst-libs/gst/video/gstvideoaggregator.c +++ b/gst-libs/gst/video/gstvideoaggregator.c @@ -1049,7 +1049,6 @@ prepare_frames (GstVideoAggregator * vagg, GstVideoAggregatorPad * pad) g_slice_free (GstVideoFrame, frame); } else { converted_frame = frame; - converted_buf = pad->buffer; } pad->aggregated_frame = converted_frame; @@ -1448,7 +1447,6 @@ gst_videoaggregator_sink_clip (GstAggregator * agg, /* Convert to the output segment rate */ if (ABS (agg->segment.rate) != 1.0) { - start_time *= ABS (agg->segment.rate); end_time *= ABS (agg->segment.rate); }