[Bug 731351] x264enc: Shift PTS and DTS with bframes

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 6 17:26:08 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=731351
  GStreamer | gst-plugins-ugly | git

--- Comment #1 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-06-07 00:26:05 UTC ---
Created an attachment (id=278067)
 View: https://bugzilla.gnome.org/attachment.cgi?id=278067
 Review: https://bugzilla.gnome.org/review?bug=731351&attachment=278067

[PATCH] x264enc: Shift both PTS and DTS to ensure positive timestamp


Currently we only shift DTS to compensate that we don't support negative
timestamp. This cause a problem that PTS is no longer >= DTS and may
make muxers live much harder. Instead, shift both PTS/DTS forward. Also
remove all the hack to handle this which seems the result of thinking libx264
is bugged.

https://bugzilla.gnome.org/show_bug.cgi?id=73135
---
 ext/x264/gstx264enc.c | 26 +++++++++-----------------
 ext/x264/gstx264enc.h |  2 +-
 2 files changed, 10 insertions(+), 18 deletions(-)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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