[Bug 740747] tsdemux: adjust upstream time segment if needed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Dec 3 06:38:02 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740747
  GStreamer | gst-plugins-bad | 1.4.4

--- Comment #4 from Edward Hervey <bilboed at bilboed.com> 2014-12-03 14:37:57 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > What exactly are you trying to solve ?
> 
> What is doing that particular element (which is proprietary) is pushing a TIME
> segment with segment.start equals to the first PTS of the mpegts stream.
> In my example it was 16:30:00.00~
> 
> But it was also affecting the buffers PTS to values not within the TIME segment
> it is emitting (it was starting at around 00:01:00.00~ which looks like the
> computation of the running time -> currentPts-basePts).

 Stop. That's your problem.

 In your segment, you're saying "the valid range of buffers to follow will be
from 16:30:00.00 onward" ... and then you give buffers which are not within
that range.

 If you want to convey a specific stream time (which is maybe what you want if
that element is handling seeks), use the segment.time field for that, and then
just set segment.start to 0 and the first buffer PTS to 0.

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