diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2012-09-14 00:16:23 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-09-14 00:39:09 +0100 |
commit | 082cedef797bd93e9dfa0737e7cbb2fd3ed243e3 (patch) | |
tree | d8dfdef513d91188275233bf0b2937603ae32ae6 | |
parent | b35bc51ed601c0521101e09d0b72fcd953e71c6a (diff) | |
download | gstreamer-plugins-base-082cedef797bd93e9dfa0737e7cbb2fd3ed243e3.tar.gz |
streamsynchronizer: don't shadow function parameter
-rw-r--r-- | gst/playback/gststreamsynchronizer.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c index 7a71ffa05..a806b1dfa 100644 --- a/gst/playback/gststreamsynchronizer.c +++ b/gst/playback/gststreamsynchronizer.c @@ -454,16 +454,15 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent, /* if EOS, but no data has passed, then send something to replace EOS * for preroll purposes */ if (!seen_data) { - GstEvent *event; + GstEvent *gap_event; - event = gst_event_new_gap (0, 0); - gst_pad_push_event (srcpad, event); + gap_event = gst_event_new_gap (0, 0); + gst_pad_push_event (srcpad, gap_event); } } gst_object_unref (srcpad); gst_event_unref (event); goto done; - break; } default: break; |