[gstreamer-bugs] [Bug 586566] New: Add GAP Flag support to gstcapsfilter

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Jun 21 12:53:44 PDT 2009


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

  GStreamer | gstreamer (core) | Ver: git
           Summary: Add GAP Flag support to gstcapsfilter
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: channa at caltech.edu
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: kcannon at ligo.caltech.edu
     GNOME version: Unspecified
   GNOME milestone: Unspecified


The basic machinery to support GAP Flags is already available to gstcapsfilter
since it subclasses GSTBaseTransform.  This patch simply calls the
gst_base_transform_set_gap_aware() method


channa at channa-desktop:~/git/gstreamer$ git diff -p master
diff --git a/common b/common
index f3bb51b..6ab11d1 160000
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit f3bb51b867ff403f70d36fc772861d8e57c703ed
+Subproject commit 6ab11d17cb8e4d1ed755da7accac9630d567a097
diff --git a/plugins/elements/gstcapsfilter.c
b/plugins/elements/gstcapsfilter.c
index 3442ff3..1a02b84 100644
--- a/plugins/elements/gstcapsfilter.c
+++ b/plugins/elements/gstcapsfilter.c
@@ -122,6 +122,8 @@ gst_capsfilter_class_init (GstCapsFilterClass * klass)
 static void
 gst_capsfilter_init (GstCapsFilter * filter, GstCapsFilterClass * g_class)
 {
+  GstBaseTransform *trans = GST_BASE_TRANSFORM (filter);
+  gst_base_transform_set_gap_aware (trans, TRUE);
   filter->filter_caps = gst_caps_new_any ();
 }


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




More information about the Gstreamer-bugs mailing list