mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 13:36:39 +00:00
hls: restore NULL test mistakenly removed
Thanks to tpm for point out I'm an idiot.
This commit is contained in:
parent
c319b1cc8f
commit
a78e516cbf
1 changed files with 1 additions and 1 deletions
|
@ -808,7 +808,7 @@ gst_m3u8_client_get_duration (GstM3U8Client * client)
|
||||||
|
|
||||||
GST_M3U8_CLIENT_LOCK (client);
|
GST_M3U8_CLIENT_LOCK (client);
|
||||||
/* We can only get the duration for on-demand streams */
|
/* We can only get the duration for on-demand streams */
|
||||||
if (!client->current || client->current->endlist) {
|
if (!client->current || !client->current->endlist) {
|
||||||
GST_M3U8_CLIENT_UNLOCK (client);
|
GST_M3U8_CLIENT_UNLOCK (client);
|
||||||
return GST_CLOCK_TIME_NONE;
|
return GST_CLOCK_TIME_NONE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue