anyone who can explain more on the difference between segment.abs_rate and segment.abs_applied_rate
Wim Taymans
wim.taymans at gmail.com
Tue Oct 18 22:14:30 PDT 2011
On 10/19/2011 04:14 AM, bcxa sz wrote:
> Hi Developers,
>
> I am reading the design document on the sync and notice formulas to
> calculate the running time and the stream time:
>
> B.running_time = (B.time_stamp - NS.start) / NS.abs_rate + NS.accum
>
> stream_time = (B.time_stamp - NS.start) / NS.abs_applied_rate + NS.accum
The formula for stream time is wrong, it should be NS.time instead of
NS.accum..
>
> Anyone can explain to me why the running_time use abs_rate but
> stream_time use abs_applied_rate?
Because using the same value for both timelines does not give the
desired results..
Wim
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list