[gstreamer-bugs] [Bug 591610] New: asfmux: messing up with sinkpads

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Aug 12 14:15:00 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=591610

  GStreamer | gst-plugins-bad | Ver: git
           Summary: asfmux: messing up with sinkpads
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thiagoss at embedded.ufcg.edu.br
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


asfmux might mess up sinkpads when it writes indexes because it sorts the
GstCollectData list in GstCollectPads (because the spec wants video pads in
stream number order). While developing it I assumed the g_slist_reverse would
create a new list, but it doesn't.

As a result, some of the GstCollectData might be lost and the muxer will use
only the remaining ones to compute media duration and other fields.

The solution is to copy the list and then reverse it.


-- 
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=591610.




More information about the Gstreamer-bugs mailing list