summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorJordi Ortiz <nenjordi@gmail.com>2012-07-10 19:21:58 +0200
committerMartin Storsjö <martin@martin.st>2012-07-10 21:20:04 +0300
commit45b068580b8c7d65a4422b47f2b98b258cf9587b (patch)
treeb8ea59cb93863c7715e8fc11070a575f47fd3db7 /libavformat/rtsp.h
parented219ed36606be307403b46f969a82bf0568865b (diff)
rtsp: Parse the mode=receive/record parameter in transport lines
We need to support the nonstandard mode=receive, for compatibility with older libavformat clients. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h3
1 files changed, 3 insertions, 0 deletions
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 */