gst_pad_check_reconfigure: only remove flag if set.
authorNiv Sardi <xaiki@evilgiggle.com>
Fri, 18 Jan 2013 00:35:48 +0000 (21:35 -0300)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 24 Jan 2013 14:41:35 +0000 (15:41 +0100)
commit4b3aee569840ed9ad2da936c951973f43b31bcd2
tree4ad2b0115a833e625d5a23f9e532d34ba9530d5f
parent4adee0dee248720180fe9fb320b044dd6dfd3450
gst_pad_check_reconfigure: only remove flag if set.

the code ifed a debug statement, that can't be right. anyway, the way it is,
we don't really need that branch, as we set the flag to unset only if set
(and that can't fail) hence the end result is always to unset the flag.

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=691985
gst/gstpad.c