Message ID | 20210417165528.79321-2-sunml@epoint.com.cn |
---|---|
State | New, archived |
Headers | show |
Series | [FFmpeg-devel,v1,1/3] libavformat/rtsp.h : Add member ignore_rtcp to RTSPState | expand |
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 |
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 }, };