[gstreamer-bugs] [Bug 349436] dvdemux outputs erroneous timestamp/duration when not receiving NEWSEGMENT event

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jun 15 15:06:36 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=349436

  GStreamer | gst-plugins-good | Ver: 0.10.x

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |OBSOLETE
   Target Milestone|HEAD                        |NONE




------- Comment #2 from Tim-Philipp Müller  2009-06-15 22:06 UTC -------
Hrm, this one's quite old. There *must* always be a newsegment event before any
buffers (when operating push-based), so any situation where this is not the
case is a bug elsewhere.

It looks to me like dvdemux has code that handles both incoming newsegment
events in BYTES and TIME format. need_segment only needs to be set when it
received a BYTES newsegment from upstream, because that will tell it to
generate a proper TIME newsegment event instead. This is not needed when
upstream sends a TIME newsegment already, in which case the upstream one is
just passed on.

Anyway, I haven't actually done any tests, but the code looks in order at first
glance, so I tihnk I'll just close this as OBSOLETE. If it's still an issue,
I'm sure someone else will file a new bug sooner or later. Please re-open if
you still have problems with up-to-date versions of GStreamer.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=349436.




More information about the Gstreamer-bugs mailing list