From: Sebastian Dröge Date: Wed, 9 Dec 2009 20:15:07 +0000 (+0100) Subject: videomixer: The queued duration is a signed integer X-Git-Tag: RELEASE-0.10.18~196 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93089ef4456b174c8a064baf896b586e64d1827c;p=platform%2Fupstream%2Fgst-plugins-good.git videomixer: The queued duration is a signed integer ...and it will really be negative sometimes. --- diff --git a/gst/videomixer/videomixer.c b/gst/videomixer/videomixer.c index ef49037..48d559f 100644 --- a/gst/videomixer/videomixer.c +++ b/gst/videomixer/videomixer.c @@ -1263,7 +1263,7 @@ static void gst_videomixer_update_queues (GstVideoMixer * mix) { GSList *walk; - guint64 interval; + gint64 interval; interval = mix->master->queued; if (interval <= 0) { @@ -1272,7 +1272,7 @@ gst_videomixer_update_queues (GstVideoMixer * mix) } else { interval = gst_util_uint64_scale_int (GST_SECOND, mix->fps_d, mix->fps_n); } - GST_LOG_OBJECT (mix, "set interval to %" G_GUINT64_FORMAT " nanoseconds", + GST_LOG_OBJECT (mix, "set interval to %" G_GINT64_FORMAT " nanoseconds", interval); }