playsink: Initialize variable to silence wrong compiler warning

This commit is contained in:
Sebastian Dröge 2012-05-09 12:03:26 +02:00
parent d7371bc87c
commit cc717f1f62

View file

@ -3511,7 +3511,8 @@ void
gst_play_sink_refresh_pad (GstPlaySink * playsink, GstPad * pad, gst_play_sink_refresh_pad (GstPlaySink * playsink, GstPad * pad,
GstPlaySinkType type) GstPlaySinkType type)
{ {
gulong *block_id; gulong *block_id = NULL;
GST_DEBUG_OBJECT (playsink, "refresh pad %" GST_PTR_FORMAT, pad); GST_DEBUG_OBJECT (playsink, "refresh pad %" GST_PTR_FORMAT, pad);
GST_PLAY_SINK_LOCK (playsink); GST_PLAY_SINK_LOCK (playsink);