summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2012-06-20 11:02:03 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-06-20 11:37:38 +0100
commit8b9a13de96c5d3a6fddc2414c7327a615b61c839 (patch)
tree02eb2eadf475c6b2fa0368aaec2a45a0fbb2ab1d
parent068df70c055847aca70007753511153d462fb450 (diff)
timidity: Fix flag checking
-rw-r--r--ext/timidity/gsttimidity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/timidity/gsttimidity.c b/ext/timidity/gsttimidity.c
index 89e592ecf..c3dfa22ca 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 {