diff options
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 342f825fce..9d8e53b061 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -278,6 +278,10 @@ typedef struct RTSPState { /** The synchronized start time of the output streams. */ int64_t start_time; + + /** Additional output handle, used when input and output are done + * separately, eg for HTTP tunneling. */ + URLContext *rtsp_hd_out; } RTSPState; /** @@ -434,4 +438,11 @@ int ff_rtsp_connect(AVFormatContext *s); */ void ff_rtsp_close_streams(AVFormatContext *s); +/** + * Close all connection handles within the RTSP (de)muxer + * + * @param rt RTSP (de)muxer context + */ +void ff_rtsp_close_connections(AVFormatContext *rt); + #endif /* AVFORMAT_RTSP_H */ |