[Bug 743363] tsdemux: push segment that cause sink to think it's late
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jan 26 15:29:35 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=743363
GStreamer | gst-plugins-bad | git master
Thiago Sousa Santos <thiagossantos> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thiagossantos at gmail.com
--- Comment #1 from Thiago Sousa Santos <thiagossantos at gmail.com> 2015-01-26 23:29:28 UTC ---
(In reply to comment #0)
> Then I look more closely to GstSegment and times formula and see that
> segment.base is in the one used to get buffer running-time. According to design
> documentation, segment.base is the total elapsed running-time of any previous
> segment.
> Hence I try to track position in the current defined segment, and when a new
> one is defined, set segment.base using
> gst_segment_to_running_time(previous-segment, GST_FORMAT_TIME,
> previous-segment-position);
> It works better but after a while, issue happens again, maybe due to some
> drift.
This is correct, did you try to debug why it happens again?
>
> For records, I also tried some foolish things like setting segment.base to
> current element running-time or segment.start. It's work in my case but I'm
> pretty sure it's not the way to fix this and it breaks many things.
>
How is this different from the approach you stated above?
--
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