bus: fix the precondition for gst_bus_disable_sync_message_emission()
authorStefan Sauer <ensonic@users.sf.net>
Wed, 10 Apr 2013 19:24:38 +0000 (21:24 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Wed, 10 Apr 2013 19:50:53 +0000 (21:50 +0200)
commit8d816e9527147266cec5936ceb48e351638b12f6
tree2ef7450684e4ba9f5f4d5ca55ca27fe05348b849
parent787d973fb264d0e43c44e0ccb43822e31c6fa47d
bus: fix the precondition for gst_bus_disable_sync_message_emission()

Use the right variable and invert the test. The precondition should catch
someone calling to once too often.
gst/gstbus.c