[gstreamer-bugs] [Bug 614016] New: [baseparse] NEWSEGMENT event sent with wrong start and position time

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Mar 26 07:18:53 PDT 2010


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

           Summary: [baseparse] NEWSEGMENT event sent with wrong start and
                    position time
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: josh at joshdoe.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=157173)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=157173)
Fix for NEWSEGMENT bug in GstBaseParse

GstBaseParse from audioparsers (aacparse, ac3parse, amrparse, flacparse) sends
the wrong start and position time to the NEWSEGMENT event.

In my case, where I've derived a video parser from GstBaseParse, this causes
the first frame of video to be dropped by filesink:

gst-launch filesrc location=video.ext ! extparse ! filesink location=output.raw

I've attached a patch which fixes this bug, at least for me. Please review it
though as I am fairly new to GStreamer and don't fully understand segments and
events yet.

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