mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
timidity: Fix flag checking
This commit is contained in:
parent
068df70c05
commit
8b9a13de96
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ gst_timidity_src_event (GstPad * pad, GstEvent * event)
|
||||||
gst_segment_set_seek (timidity->o_segment, rate, dst_format, flags,
|
gst_segment_set_seek (timidity->o_segment, rate, dst_format, flags,
|
||||||
start_type, start, stop_type, stop, &update);
|
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",
|
GST_DEBUG_OBJECT (timidity, "received segment seek %d, %d",
|
||||||
(gint) start_type, (gint) stop_type);
|
(gint) start_type, (gint) stop_type);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue