[Bug 719785] hlssink does not always adhere to the segment target duration

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 2 23:01:36 UTC 2017


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

--- Comment #6 from minfrin at sharp.fm ---
This hack patch causes data to flow again:

diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
index 67c2b72..e11d075 100644
--- a/gst/mpegtsmux/mpegtsmux.c
+++ b/gst/mpegtsmux/mpegtsmux.c
@@ -1079,10 +1081,10 @@ check_pending_key_unit_event (GstEvent * pending_event,
GstSegment * segment,
       running_time < pending_key_unit_ts)
     goto out;

-  if (flags & GST_BUFFER_FLAG_DELTA_UNIT) {
-    GST_INFO ("pending force key unit, waiting for keyframe");
-    goto out;
-  }
+//  if (flags & GST_BUFFER_FLAG_DELTA_UNIT) {
+//    GST_INFO ("pending force key unit, waiting for keyframe");
+//    goto out;
+//  }

   stream_time = gst_segment_to_stream_time (segment,
       GST_FORMAT_TIME, timestamp);

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