[Bug 740575] Fixing DTS in GStreamer

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Nov 23 07:55:12 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740575
  GStreamer | gstreamer (core) | git

--- Comment #2 from Matej Knopp <matej.knopp at gmail.com> 2014-11-23 15:55:05 UTC ---
Negative DTS for encoders could be handled in the base class. For example

gst_video_encoder_set_min_pts(encoder, GST_SECOND) would ensure that
handle_frame will never be passed PTS that is smaller than one second. If the
base needs to adjust timestamps in order to accommodate this, it would also
adjust the output segment start/stop accordingly, so that the change would be
neutral in regards to stream/running time.

This would mean that x264enc would simply tell the base class that it needs PTS
at least one second and would not need to do anything special for negative DTS,
as there wouldn't be any.

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