[gstreamer-bugs] [Bug 623301] New: gst_caps_normalize : doesn't normalize completely

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 1 08:58:19 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=623301
  GStreamer | gstreamer (core) | git

           Summary: gst_caps_normalize : doesn't normalize completely
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: bilboed at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=165034)
 View: https://bugzilla.gnome.org/attachment.cgi?id=165034
 Review: https://bugzilla.gnome.org/review?bug=623301&attachment=165034

Fix + unit test

First of all : yes, I know, it's a regression I introduced over a year ago in
commit 5d819beffba6d7f33f09317e4abdff2fa2450e93.

Right now gst_caps_normalize() doesn't expand/normalize if structures are added
in some previous passes because we don't recalculate the new size of the
newcaps.

This leads to the following problems :
input caps : some/type, foo=(string){ 1 , 2 }, bar=(string) { 3 }
normalized caps : some/type, foo=(string) 1, bar=(string) 3; some/type,
foo=(string) 2, bar=(string) 3
actual current result : some/type, foo=(string) 1, bar=(string) 3; some/type,
foo=(string) 2, bar=(string) { 3 }

Find attached fix and unit test.

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