diff options
author | Edward Hervey <edward@centricular.com> | 2017-11-21 09:33:49 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2017-11-21 09:33:49 +0100 |
commit | 92c3207463160aafc9ab1d6037184fcaeffc9540 (patch) | |
tree | ed4a6ae2ff8c24b1e7c8274c502a1d697e47c114 /gst | |
parent | 3ba556a54d6a21dc4e0d10827c6a6ecb5a3e2425 (diff) |
rtspsrc: Use the proper maximum value for seekable
it's a gfloat, not a gdouble
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 9fbd7b616..518d0e3a4 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -5954,7 +5954,7 @@ gst_rtspsrc_parse_methods (GstRTSPSrc * src, GstRTSPMessage * response) * this */ src->methods |= GST_RTSP_PLAY; /* also assume it will support Range */ - src->seekable = G_MAXDOUBLE; + src->seekable = G_MAXFLOAT; /* we need describe and setup */ if (!(src->methods & GST_RTSP_DESCRIBE)) @@ -6333,7 +6333,7 @@ gst_rtsp_src_setup_stream_from_response (GstRTSPSrc * src, gchar **random_seekable_val = g_strsplit (prop, "=", 2); if (!random_seekable_val[1]) - src->seekable = G_MAXDOUBLE; + src->seekable = G_MAXFLOAT; else src->seekable = g_ascii_strtod (random_seekable_val[1], NULL); |