Commit 082cedef authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

streamsynchronizer: don't shadow function parameter

parent b35bc51e
...@@ -454,16 +454,15 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent, ...@@ -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 /* if EOS, but no data has passed, then send something to replace EOS
* for preroll purposes */ * for preroll purposes */
if (!seen_data) { if (!seen_data) {
GstEvent *event; GstEvent *gap_event;
event = gst_event_new_gap (0, 0); gap_event = gst_event_new_gap (0, 0);
gst_pad_push_event (srcpad, event); gst_pad_push_event (srcpad, gap_event);
} }
} }
gst_object_unref (srcpad); gst_object_unref (srcpad);
gst_event_unref (event); gst_event_unref (event);
goto done; goto done;
break;
} }
default: default:
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment