fix bug of hls conf detect
This commit is contained in:
parent
4c4bbd0529
commit
3877ab0ff2
|
|
@ -689,7 +689,7 @@ int SrsHls::reopen()
|
||||||
|
|
||||||
// try to open the HLS muxer
|
// try to open the HLS muxer
|
||||||
SrsConfDirective* conf = config->get_hls(vhost);
|
SrsConfDirective* conf = config->get_hls(vhost);
|
||||||
if (!conf && conf->arg0() == "off") {
|
if (!conf || conf->arg0() == "off") {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user