mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
ext/lame/gstlame.c: Use gst_util_uint64_scale instead of gst_util_uint64_scale_int as 8 * GST_SECOND is too large for...
Original commit message from CVS: * ext/lame/gstlame.c: (gst_lame_sink_event): Use gst_util_uint64_scale instead of gst_util_uint64_scale_int as 8 * GST_SECOND is too large for int.
This commit is contained in:
parent
0e62059993
commit
9d87e1468b
1 changed files with 1 additions and 1 deletions
|
@ -974,7 +974,7 @@ gst_lame_sink_event (GstPad * pad, GstEvent * event)
|
||||||
if (size > 0 && lame->last_flow == GST_FLOW_OK) {
|
if (size > 0 && lame->last_flow == GST_FLOW_OK) {
|
||||||
gint64 duration;
|
gint64 duration;
|
||||||
|
|
||||||
duration = gst_util_uint64_scale_int (size, 8 * GST_SECOND,
|
duration = gst_util_uint64_scale (size, 8 * GST_SECOND,
|
||||||
1000 * lame->bitrate);
|
1000 * lame->bitrate);
|
||||||
|
|
||||||
if (lame->last_ts == GST_CLOCK_TIME_NONE) {
|
if (lame->last_ts == GST_CLOCK_TIME_NONE) {
|
||||||
|
|
Loading…
Reference in a new issue