diff mbox series

[FFmpeg-devel,v1,2/3] libavformat/rtsp.c : Add ignore_rtcp option to ff_rtsp_options

Message ID 20210417165528.79321-2-sunml@epoint.com.cn
State New
Headers show
Series [FFmpeg-devel,v1,1/3] libavformat/rtsp.h : Add member ignore_rtcp to RTSPState
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

minlei sun April 17, 2021, 4:55 p.m. UTC
From: Minlei Sun <sunml@epoint.com.cn>

Signed-off-by: Minlei Sun <sunml@epoint.com.cn>
---
 libavformat/rtsp.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 25bdf475b3..32043bfff6 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -105,6 +105,7 @@  const AVOption ff_rtsp_options[] = {
 #if FF_API_OLD_RTSP_OPTIONS
     { "user-agent", "override User-Agent header (deprecated, use user_agent)", OFFSET(user_agent), AV_OPT_TYPE_STRING, {.str = LIBAVFORMAT_IDENT}, 0, 0, DEC|AV_OPT_FLAG_DEPRECATED },
 #endif
+    { "ignore_rtcp",  "When receiving rtcp type message, it is ignored", OFFSET(ignore_rtcp), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, DEC },
     { NULL },
 };