From 73983b3ec18497ad145b716b06268c8ad66c65af Mon Sep 17 00:00:00 2001 From: Koop Mast Date: Wed, 22 Jun 2011 17:12:34 +0200 Subject: [PATCH] tee: use & instead of && for masking bits See #653137 --- plugins/elements/gsttee.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/elements/gsttee.c b/plugins/elements/gsttee.c index 56a5613..9222206 100644 --- a/plugins/elements/gsttee.c +++ b/plugins/elements/gsttee.c @@ -809,7 +809,7 @@ gst_tee_src_activate_pull (GstPad * pad, gboolean active) if (pad == tee->pull_pad) tee->pull_pad = NULL; } - tee->sink_mode = active && GST_ACTIVATE_PULL; + tee->sink_mode = active & GST_ACTIVATE_PULL; GST_OBJECT_UNLOCK (tee); gst_object_unref (tee); -- 2.7.4