timidity: Fix flag checking

This commit is contained in:
Edward Hervey 2012-06-20 11:02:03 +02:00 committed by Sebastian Dröge
parent 068df70c05
commit 8b9a13de96

View file

@ -407,7 +407,7 @@ gst_timidity_src_event (GstPad * pad, GstEvent * event)
gst_segment_set_seek (timidity->o_segment, rate, dst_format, flags,
start_type, start, stop_type, stop, &update);
if ((flags && GST_SEEK_FLAG_SEGMENT) == GST_SEEK_FLAG_SEGMENT) {
if (flags & GST_SEEK_FLAG_SEGMENT) {
GST_DEBUG_OBJECT (timidity, "received segment seek %d, %d",
(gint) start_type, (gint) stop_type);
} else {