Add underscore.
Original commit message from CVS: Add underscore.
This commit is contained in:
parent
deaee40dab
commit
4feeea6c13
@ -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>
|
2005-11-22 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
* gst/videorate/gstvideorate.c: (gst_videorate_chain):
|
* gst/videorate/gstvideorate.c: (gst_videorate_chain):
|
||||||
|
@ -510,7 +510,7 @@ gst_videorate_chain (GstPad * pad, GstBuffer * buffer)
|
|||||||
if (videorate->to_rate_numerator) {
|
if (videorate->to_rate_numerator) {
|
||||||
videorate->next_ts =
|
videorate->next_ts =
|
||||||
videorate->first_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);
|
videorate->to_rate_denominator, videorate->to_rate_numerator);
|
||||||
GST_BUFFER_DURATION (outbuf) =
|
GST_BUFFER_DURATION (outbuf) =
|
||||||
videorate->next_ts - GST_BUFFER_TIMESTAMP (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;
|
GST_BUFFER_TIMESTAMP (outbuf) = src->timestamp_offset + src->running_time;
|
||||||
if (src->rate_numerator != 0) {
|
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->rate_denominator, src->rate_numerator);
|
||||||
}
|
}
|
||||||
|
|
||||||
src->n_frames++;
|
src->n_frames++;
|
||||||
if (src->rate_numerator != 0) {
|
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);
|
src->rate_denominator, src->rate_numerator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user