[Bug 747505] vp8 decoding deadline should be specified in us instead of ms

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 8 06:34:55 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747505

--- Comment #2 from Robert Swain <robert.swain at gmail.com> ---
gst_video_decoder_get_max_decode_time returns a GstClockTimeDiff which is a
gint64 of nanoseconds. If you want that in milliseconds you need to divide by
10^6 which is what GST_MSECOND is. Alternatively you can think of these GST
time constants as the amount of nanoseconds for that unit, then it becomes
nanoseconds / (nanoseconds / millisecond) = milliseconds. So I think the code
is correct as it is.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list