mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/939>
This commit is contained in:
parent
b1dcbf393b
commit
57e4eab72d
1 changed files with 1 additions and 2 deletions
|
@ -3168,8 +3168,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 */
|
||||
|
|
Loading…
Reference in a new issue