Commit 3f9f3c27 authored by Sébastien Escudier's avatar Sébastien Escudier

fix regression from 7f12d460

Closes #8076
(cherry picked from commit 2c1b60aec7e7fbeb4d0f0007c1933ad1572af490)
Signed-off-by: default avatarSébastien Escudier <sebastien-devel@celeos.eu>
parent 6be4754f
...@@ -536,7 +536,7 @@ static void continueAfterOPTIONS( RTSPClient* client, int result_code, ...@@ -536,7 +536,7 @@ static void continueAfterOPTIONS( RTSPClient* client, int result_code,
// If OPTIONS fails, assume GET_PARAMETER is not supported but // If OPTIONS fails, assume GET_PARAMETER is not supported but
// still continue on with the stream. Some servers (foscam) // still continue on with the stream. Some servers (foscam)
// return 501/not implemented for OPTIONS. // return 501/not implemented for OPTIONS.
result_code != 0 result_code == 0
&& result_string != NULL && result_string != NULL
&& strstr( result_string, "GET_PARAMETER" ) != NULL; && strstr( result_string, "GET_PARAMETER" ) != NULL;
client->sendDescribeCommand( continueAfterDESCRIBE ); 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