[Bug 768458] vaapiencode: h264: check fps numerator

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 21 15:19:18 UTC 2016


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

--- Comment #4 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
@sree,

Another question, is correct

     encoder->cts_offset = GST_SECOND * GST_VAAPI_ENCODER_FPS_D (encoder) /
         GST_VAAPI_ENCODER_FPS_N (encoder);

???

cts_offset is used to calculate frame->pts (composition timestamp for
presentation timestamp)

But D/N doesn't look right to me. It should be N/D, but I would like your
confirmation.

This code is also used in h265 encoding.

-- 
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