tee: use & instead of && for masking bits
authorKoop Mast <kwm at FreeBSD.org>
Wed, 22 Jun 2011 15:12:34 +0000 (17:12 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 22 Jun 2011 15:12:34 +0000 (17:12 +0200)
See #653137

plugins/elements/gsttee.c

index 56a5613..9222206 100644 (file)
@@ -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);