rtspsrc: normalize variable to boolean

This commit is contained in:
Mathieu Duponchelle 2019-08-30 22:42:58 +02:00
parent 37eca8a12c
commit 3bc5d3d3b5

View file

@ -2903,7 +2903,7 @@ gst_rtspsrc_perform_seek (GstRTSPSrc * src, GstEvent * event)
/* If an accurate seek was requested, we want to clip the segment we
* output in ONVIF mode to the requested bounds */
src->clip_out_segment = flags & GST_SEEK_FLAG_ACCURATE;
src->clip_out_segment = !!(flags & GST_SEEK_FLAG_ACCURATE);
if (playing)
gst_rtspsrc_play (src, &seeksegment, FALSE, seek_style);