mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
Add underscore.
Original commit message from CVS: Add underscore.
This commit is contained in:
parent
deaee40dab
commit
4feeea6c13
3 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-11-22 Michael Smith <msmith@fluendo.com>
|
||||
|
||||
* gst/videorate/gstvideorate.c: (gst_videorate_chain):
|
||||
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_create):
|
||||
Add underscore.
|
||||
|
||||
2005-11-22 Michael Smith <msmith@fluendo.com>
|
||||
|
||||
* gst/videorate/gstvideorate.c: (gst_videorate_chain):
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue