projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ba556a
)
rtspsrc: Use the proper maximum value for seekable
author
Edward Hervey
<edward@centricular.com>
Tue, 21 Nov 2017 08:33:49 +0000
(09:33 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 21 Nov 2017 08:33:49 +0000
(09:33 +0100)
it's a gfloat, not a gdouble
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
9fbd7b6
..
518d0e3
100644
(file)
--- 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_MAX
DOUBLE
;
+ src->seekable = G_MAX
FLOAT
;
/* 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_MAX
DOUBLE
;
+ src->seekable = G_MAX
FLOAT
;
else
src->seekable = g_ascii_strtod (random_seekable_val[1], NULL);