[Bug 750660] tsdemux and push-mode not calculating

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 10 06:21:38 PDT 2015


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

--- Comment #8 from iotapi322 at icloud.com ---
I have tried setting the buffer timestamp to none 

 GST_BUFFER_TIMESTAMP (buf) =GST_CLOCK_TIME_NONE;

with no change in behavior, however when I changed the code to this:

GST_BUFFER_TIMESTAMP (buf) =demux->seekpos;


Where demux->seekpos is the stream start or the seek position in nano seconds
than the demux is able to parse and play back content.  Which I guess resolves
this bug.  However querying for position always returns the running time not
the actual stream position time.  For example if I seek to 80 seconds into the
stream and query for position it returns that the position is 0 and increments
from there.

Part of that could be the fact that when I do a flush 

 event = gst_event_new_flush_stop (TRUE); 

I send in a hard reset, if I do not and leave this as false the video freezes
and nothing occurs when I do a seek.

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