summaryrefslogtreecommitdiff
authorTristan Matthews <le.businessman@gmail.com>2009-04-30 16:08:52 (GMT)
committer Tim-Philipp Müller <tim.muller@collabora.co.uk>2009-04-30 16:09:28 (GMT)
commit8d4315ee5c74c5bb6bb6adf9ed5824101d9ccda1 (patch) (side-by-side diff)
tree51a706f3862d02b4e405a781577fc78bde866d3c
parent5704bc8f89c745a86dbe435a2e2c008c499e8132 (diff)
downloadgst-plugins-bad-8d4315ee5c74c5bb6bb6adf9ed5824101d9ccda1.zip
gst-plugins-bad-8d4315ee5c74c5bb6bb6adf9ed5824101d9ccda1.tar.gz
fpsdisplaysink: init variable to NULL to avoid compiler warning
Fixes #580901.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gst/debugutils/fpsdisplaysink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c
index 22568fe..d22dfad 100644
--- a/gst/debugutils/fpsdisplaysink.c
+++ b/gst/debugutils/fpsdisplaysink.c
@@ -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;