mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
Fix compile due to self-stupidity
Original commit message from CVS: Fix compile due to self-stupidity
This commit is contained in:
parent
e558623852
commit
9559eb697d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue