Commit 893d39ce authored by Mathieu Duponchelle's avatar Mathieu Duponchelle Committed by Mathieu Duponchelle
parent d7038b9b
......@@ -2428,6 +2428,9 @@ gst_rtspsrc_perform_seek (GstRTSPSrc * src, GstEvent * event)
stop_type = GST_SEEK_TYPE_SET;
}
if (flags & GST_SEEK_FLAG_SEGMENT)
goto invalid_segment_flag;
/* get flush flag */
flush = flags & GST_SEEK_FLAG_FLUSH;
skip = flags & GST_SEEK_FLAG_SKIP;
......@@ -2557,6 +2560,11 @@ not_seekable:
GST_DEBUG_OBJECT (src, "stream is not seekable");
return FALSE;
}
invalid_segment_flag:
{
GST_WARNING_OBJECT (src, "Segment seeks not supported");
return FALSE;
}
}
static gboolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment