[gstreamer-bugs] [Bug 353970] New: [capsfilter] doesn't filter caps correctly

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Sep 2 06:49:34 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=353970
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: [capsfilter] doesn't filter caps correctly
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


$ gst-launch-0.10 videotestsrc ! video/x-raw-rgb,alpha_mask=255 ! fakesink -v

will lead to

/pipeline0/fakesink0.sink: caps = video/x-raw-rgb, bpp=(int)32,
endianness=(int)4321, depth=(int)24, red_mask=(int)16711680,
green_mask=(int)65280, blue_mask=(int)255, width=(int)320, height=(int)240,
framerate=(fraction)30/1, alpha_mask=(int)255

(even with an up-to-date videotestsrc from CVS which does have support for
RGBA). 

This is wrong IMHO. capsfilter should _filter_ given caps to my requirements
assuming all fields are non-optional. It can't just assume some of the provided
fields are optional (In this case I need to add an additional depth=32 to make
it pick the caps I want).



Similarly, this pipeline

  $ gst-launch-0.10 videotestsrc ! video/x-raw-rgb,foobar=99 ! fakesink

should just error out.


-- 
Configure bugmail: http://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