tee: use & instead of && for masking bits

See #653137
This commit is contained in:
Koop Mast 2011-06-22 17:12:34 +02:00 committed by Wim Taymans
parent c1983b9939
commit 73983b3ec1

View 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);