From cc717f1f62cbd11bfbe053812a4090ec6062f727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 9 May 2012 12:03:26 +0200 Subject: [PATCH] playsink: Initialize variable to silence wrong compiler warning --- gst/playback/gstplaysink.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index 3ad7836220..f28d41fae8 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -3511,7 +3511,8 @@ void gst_play_sink_refresh_pad (GstPlaySink * playsink, GstPad * pad, GstPlaySinkType type) { - gulong *block_id; + gulong *block_id = NULL; + GST_DEBUG_OBJECT (playsink, "refresh pad %" GST_PTR_FORMAT, pad); GST_PLAY_SINK_LOCK (playsink);