summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-08-27 17:17:12 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2015-08-28 09:39:49 -0300
commitb41d16038ec163e12513c0dab808e4ff557dad5a (patch)
treece70a5eefe0929bbbb65e4ab8611b9404cd9d0ac
parent2e24978e2f5dfe249642678e92034ca79a82b50d (diff)
volume: use template check for accept-capsHEADmaster
No need to do a find_transform() operation, they always accept the same as the template
-rw-r--r--gst/volume/gstvolume.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c
index 0b6482a11..8cf9229a7 100644
--- a/gst/volume/gstvolume.c
+++ b/gst/volume/gstvolume.c
@@ -348,6 +348,7 @@ gst_volume_init (GstVolume * self)
self->negotiated = FALSE;
gst_base_transform_set_gap_aware (GST_BASE_TRANSFORM (self), TRUE);
+ GST_PAD_SET_ACCEPT_TEMPLATE (GST_BASE_TRANSFORM_SINK_PAD (self));
}
static void