From 45b068580b8c7d65a4422b47f2b98b258cf9587b Mon Sep 17 00:00:00 2001 From: Jordi Ortiz Date: Tue, 10 Jul 2012 19:21:58 +0200 Subject: rtsp: Parse the mode=receive/record parameter in transport lines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We need to support the nonstandard mode=receive, for compatibility with older libavformat clients. Signed-off-by: Martin Storsjö --- libavformat/rtsp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavformat/rtsp.h') diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index e512336ab0..55743b5d2d 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -102,6 +102,9 @@ typedef struct RTSPTransportField { * packets will be allowed to make before being discarded. */ int ttl; + /** transport set to record data */ + int mode_record; + struct sockaddr_storage destination; /**< destination IP address */ char source[INET6_ADDRSTRLEN + 1]; /**< source IP address */ -- cgit v1.2.3