mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
videoaggregator: remove storage of never used values
These two values are stored just before the function returns and they go out of scope.
This commit is contained in:
parent
23029acf46
commit
0df9279026
1 changed files with 0 additions and 2 deletions
|
@ -1049,7 +1049,6 @@ prepare_frames (GstVideoAggregator * vagg, GstVideoAggregatorPad * pad)
|
||||||
g_slice_free (GstVideoFrame, frame);
|
g_slice_free (GstVideoFrame, frame);
|
||||||
} else {
|
} else {
|
||||||
converted_frame = frame;
|
converted_frame = frame;
|
||||||
converted_buf = pad->buffer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pad->aggregated_frame = converted_frame;
|
pad->aggregated_frame = converted_frame;
|
||||||
|
@ -1448,7 +1447,6 @@ gst_videoaggregator_sink_clip (GstAggregator * agg,
|
||||||
|
|
||||||
/* Convert to the output segment rate */
|
/* Convert to the output segment rate */
|
||||||
if (ABS (agg->segment.rate) != 1.0) {
|
if (ABS (agg->segment.rate) != 1.0) {
|
||||||
start_time *= ABS (agg->segment.rate);
|
|
||||||
end_time *= ABS (agg->segment.rate);
|
end_time *= ABS (agg->segment.rate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue