From 8b9a13de96c5d3a6fddc2414c7327a615b61c839 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 20 Jun 2012 11:02:03 +0200 Subject: [PATCH] timidity: Fix flag checking --- ext/timidity/gsttimidity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/timidity/gsttimidity.c b/ext/timidity/gsttimidity.c index 89e592ecf7..c3dfa22ca6 100644 --- a/ext/timidity/gsttimidity.c +++ b/ext/timidity/gsttimidity.c @@ -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 { -- 2.34.1