[gstreamer-bugs] [Bug 421543] [GstPad] Doesn't check if pad accepts caps after caps change

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Mar 22 10:14:35 PDT 2007


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

  GStreamer | gstreamer (core) | Ver: HEAD CVS


Sebastian Dröge changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #85117|0                           |1
        is obsolete|                            |




------- Comment #4 from Sebastian Dröge  2007-03-22 17:12 UTC -------
Created an attachment (id=85120)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=85120&action=view)
gstcaps.diff

Patch that does the checking in set_caps and thus makes configure_{src,sink}
useless. Commited this after discussion on IRC.

2007-03-22  Sebastian Dröge  <slomo at circular-chaos.org>

        * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
        (gst_pad_chain_unchecked), (gst_pad_push):
        Check in set_caps if the caps are compatible with the pad and remove
        two functions that are redundant now. Fixes #421543.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list