rtspdec: Fix keep-alive request for ACTi cameras
authorRumin Sam <ruminsam@corp.bluecherry.net>
Mon, 9 Dec 2013 20:43:51 +0000 (17:43 -0300)
committerMartin Storsjö <martin@martin.st>
Wed, 11 Dec 2013 20:48:55 +0000 (22:48 +0200)
Some ACTi cameras fail if "*" is passed as the URI.

Signed-off-by: Ismael Luceno <ismael.luceno@corp.bluecherry.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtspdec.c

index 160d49bb3d289c71d751bff669d141ca6e8f0b8f..583070a745d6a28d52ccbef0d13e3f4b501e725e 100644 (file)
@@ -877,7 +877,7 @@ retry:
                  rt->get_parameter_supported)) {
                 ff_rtsp_send_cmd_async(s, "GET_PARAMETER", rt->control_uri, NULL);
             } else {
-                ff_rtsp_send_cmd_async(s, "OPTIONS", "*", NULL);
+                ff_rtsp_send_cmd_async(s, "OPTIONS", rt->control_uri, NULL);
             }
             /* The stale flag should be reset when creating the auth response in
              * ff_rtsp_send_cmd_async, but reset it here just in case we never