Fix compile due to self-stupidity

Original commit message from CVS:
Fix compile due to self-stupidity
This commit is contained in:
Michael Smith 2005-11-22 16:50:16 +00:00
parent e558623852
commit 9559eb697d

View file

@ -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);
}