diff options
author | Edward Hervey <edward.hervey@collabora.co.uk> | 2012-06-20 11:02:03 +0200 |
---|---|---|
committer | Edward Hervey <edward.hervey@collabora.co.uk> | 2012-06-20 11:02:03 +0200 |
commit | ef8bbe79006117d46e2f246a4949cfd9c380796f (patch) | |
tree | 568902d9293b6170acc8e5f890225e10c52e9f99 | |
parent | 20ace7326a3342010e0afcf116a18f6dfa9e901d (diff) |
timidity: Fix flag checking
-rw-r--r-- | ext/timidity/gsttimidity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/timidity/gsttimidity.c b/ext/timidity/gsttimidity.c index 91e47ced4..dd7e511c0 100644 --- a/ext/timidity/gsttimidity.c +++ b/ext/timidity/gsttimidity.c @@ -405,7 +405,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 { |