[gstreamer-bugs] [Bug 449414] New: [capsfilter] Copy of passed GstCaps taken instead of reference

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jun 20 02:49:29 PDT 2007


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

  GStreamer | gstreamer (core) | Ver: HEAD CVS
           Summary: [capsfilter] Copy of passed GstCaps taken instead of
                    reference
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: tim at ngus.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.17/2.18
   GNOME milestone: Unspecified


Please describe the problem:
<Timbo> if you're fiddling with documentation you might also change
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugi
ns-capsfilter.html to say that settings the caps property takes a copy of your
GstCaps, not a reference :)
<thaytan> Timbo: it'd be better to fix capsfilter to take a reference, not a
copy ;)



Steps to reproduce:
1. Employ a capsfilter element
2. Set "caps" property
3. Notice no reference taken on GstCaps object passed


Actual results:
No reference is taken on the GstCaps object passed to the capsfilter element

Expected results:
A reference to be taken on the GstCaps object passed to the capsfilter element

Does this happen every time?
Yes

Other information:


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




More information about the Gstreamer-bugs mailing list