fpsdisplaysink: init variable to NULL to avoid compiler warning
authorTristan Matthews <le.businessman@gmail.com>
Thu, 30 Apr 2009 16:08:52 +0000 (17:08 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 30 Apr 2009 16:09:28 +0000 (17:09 +0100)
Fixes #580901.

gst/debugutils/fpsdisplaysink.c

index 22568fe..d22dfad 100644 (file)
@@ -273,7 +273,7 @@ display_current_fps (gpointer data)
 static void
 fps_display_sink_start (FPSDisplaySink * self)
 {
-  GstPad *target_pad;
+  GstPad *target_pad = NULL;
 
   /* Init counters */
   self->priv->next_ts = GST_CLOCK_TIME_NONE;