diff --git a/ChangeLog b/ChangeLog index 930efe0b21..efb3c9a630 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-22 Michael Smith + + * gst/videorate/gstvideorate.c: (gst_videorate_chain): + * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_create): + Add underscore. + 2005-11-22 Michael Smith * gst/videorate/gstvideorate.c: (gst_videorate_chain): diff --git a/gst/videorate/gstvideorate.c b/gst/videorate/gstvideorate.c index 037e476437..f7850739e7 100644 --- a/gst/videorate/gstvideorate.c +++ b/gst/videorate/gstvideorate.c @@ -510,7 +510,7 @@ gst_videorate_chain (GstPad * pad, GstBuffer * buffer) if (videorate->to_rate_numerator) { videorate->next_ts = videorate->first_ts + - gst_util_clocktime_scale (videorate->out * GST_SECOND, + gst_util_clock_time_scale (videorate->out * GST_SECOND, videorate->to_rate_denominator, videorate->to_rate_numerator); GST_BUFFER_DURATION (outbuf) = videorate->next_ts - GST_BUFFER_TIMESTAMP (outbuf); diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c index 1cab0a48ad..1b494933e1 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_clocktime_scale (GST_SECOND, + GST_BUFFER_DURATION (outbuf) = gst_utils_clock_time_scale (GST_SECOND, src->rate_denominator, src->rate_numerator); } src->n_frames++; if (src->rate_numerator != 0) { - src->running_time = gst_utils_clocktime_scale (src->n_frames * GST_SECOND, + src->running_time = gst_utils_clock_time_scale (src->n_frames * GST_SECOND, src->rate_denominator, src->rate_numerator); }