mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
rtsp: fix parsing of 'now-' ranges.
--
This commit is contained in:
parent
44574b0ca6
commit
f69a3d953a
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
|||
static GstRTSPResult
|
||||
parse_npt_time (const gchar * str, GstRTSPTime * time)
|
||||
{
|
||||
if (strcmp (str, "now") == 0) {
|
||||
if (strncmp (str, "now", 3) == 0) {
|
||||
time->type = GST_RTSP_TIME_NOW;
|
||||
} else if (str[0] == '\0') {
|
||||
time->type = GST_RTSP_TIME_END;
|
||||
|
|
Loading…
Reference in a new issue