aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-08-08 23:05:52 +0300
committerMartin Storsjö <martin@martin.st>2012-08-09 00:25:57 +0300
commit1243c722510f6cf878039e5edfd912ab25fe66f6 (patch)
tree26d5c3f082ace6cd5caabc63603eb9a337013d29 /libavformat/rtsp.h
parentdf8cf076c8627d9240e62187ac98cd88f757353c (diff)
downloadffmpeg-1243c722510f6cf878039e5edfd912ab25fe66f6.tar.gz
rtsp: Support mpegts in raw udp packets
This is basically the same way as mpegts packets are parsed in rtpdec.c. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index 704586a94e..d16c98ca8a 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -311,6 +311,13 @@ typedef struct RTSPState {
* other cases, this is a copy of AVFormatContext->filename. */
char control_uri[1024];
+ /** The following are used for parsing raw mpegts in udp */
+ //@{
+ struct MpegTSContext *ts;
+ int recvbuf_pos;
+ int recvbuf_len;
+ //@}
+
/** Additional output handle, used when input and output are done
* separately, eg for HTTP tunneling. */
URLContext *rtsp_hd_out;