From 9559eb697d62187d28d66939e7c07f2b0d4eee07 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 22 Nov 2005 16:50:16 +0000 Subject: [PATCH] Fix compile due to self-stupidity Original commit message from CVS: Fix compile due to self-stupidity --- gst/videotestsrc/gstvideotestsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c index 1b494933e..7ef4e8311 100644 --- a/gst/videotestsrc/gstvideotestsrc.c +++ b/gst/videotestsrc/gstvideotestsrc.c @@ -459,13 +459,13 @@ gst_videotestsrc_create (GstPushSrc * psrc, GstBuffer ** buffer) GST_BUFFER_TIMESTAMP (outbuf) = src->timestamp_offset + src->running_time; if (src->rate_numerator != 0) { - GST_BUFFER_DURATION (outbuf) = gst_utils_clock_time_scale (GST_SECOND, + GST_BUFFER_DURATION (outbuf) = gst_util_clock_time_scale (GST_SECOND, src->rate_denominator, src->rate_numerator); } src->n_frames++; if (src->rate_numerator != 0) { - src->running_time = gst_utils_clock_time_scale (src->n_frames * GST_SECOND, + src->running_time = gst_util_clock_time_scale (src->n_frames * GST_SECOND, src->rate_denominator, src->rate_numerator); } -- 2.34.1