Commit 2c1b60ae authored by Sébastien Escudier's avatar Sébastien Escudier

fix regression from 31180356

Closes #8076
parent ba66ad01
......@@ -527,7 +527,7 @@ static void continueAfterOPTIONS( RTSPClient* client, int result_code,
// If OPTIONS fails, assume GET_PARAMETER is not supported but
// still continue on with the stream. Some servers (foscam)
// return 501/not implemented for OPTIONS.
result_code != 0
result_code == 0
&& result_string != NULL
&& strstr( result_string, "GET_PARAMETER" ) != NULL;
client->sendDescribeCommand( continueAfterDESCRIBE );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment