Commit 907e48ce authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜 Committed by Tim-Philipp Müller
Browse files

rtspsrc: Using multicast UDP has no relation to seekability

The transport has no relation to whether a media can be seeked. The
range response having a duration is the correct thing to check for.

Part-of: <gstreamer/gst-plugins-good!947>
parent a818a5ad
Pipeline #300642 passed with stages
in 31 minutes and 54 seconds
......@@ -3163,8 +3163,7 @@ gst_rtspsrc_handle_src_query (GstPad * pad, GstObject * parent,
gst_query_parse_seeking (query, &format, NULL, NULL, NULL);
if (format == GST_FORMAT_TIME) {
gboolean seekable =
src->cur_protocols != GST_RTSP_LOWER_TRANS_UDP_MCAST;
gboolean seekable = TRUE;
GstClockTime start = 0, duration = src->segment.duration;
/* seeking without duration is unlikely */
......
Supports Markdown
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