[Bug 676547] New: regression in caps merge

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 22 03:48:22 PDT 2012


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

           Summary: regression in caps merge
    Classification: Platform
           Product: GStreamer
           Version: 0.10.36
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lfarkas at lfarkas.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


this simple test was working on 10.35, but it's no longer works on the latest
10.36:
-------------------------------
#include <gst/gst.h>
#include <glib.h>

int main (int   argc, char *argv[])
{
  GstCaps* caps1;
  GstCaps* caps2;

  gst_init (&argc, &argv);

  caps1 = gst_caps_from_string( "video/x-raw-rgb, bpp=32, depth=24" );
  caps2 = gst_caps_from_string( "video/x-raw-rgb, width=640, height=480" );

  g_print ("%s\n",gst_caps_to_string (caps1));
  g_print ("%s\n\n",gst_caps_to_string (caps2));

  gst_caps_merge (caps1, caps2);

  g_print ("%s\n",gst_caps_to_string (caps1));
  g_print ("%s\n",gst_caps_to_string (caps2));

  return 0;
}
-------------------------------
in the previous version it gives:
-------------------------------
video/x-raw-rgb, bpp=(int)32, depth=(int)24; video/x-raw-rgb, width=(int)640,
height=(int)480
EMPTY
-------------------------------
now gives:
-------------------------------
video/x-raw-rgb, bpp=(int)32, depth=(int)24
EMPTY
-------------------------------

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