Commit e2e29c62 authored by Martin Storsjö's avatar Martin Storsjö

rtspenc: Add RTP muxer options

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 6cf09bb7
...@@ -344,6 +344,11 @@ typedef struct RTSPState { ...@@ -344,6 +344,11 @@ typedef struct RTSPState {
* Do not begin to play the stream immediately. * Do not begin to play the stream immediately.
*/ */
int initial_pause; int initial_pause;
/**
* Option flags for the chained RTP muxer.
*/
int rtp_muxer_flags;
} RTSPState; } RTSPState;
/** /**
......
...@@ -34,10 +34,12 @@ ...@@ -34,10 +34,12 @@
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "url.h" #include "url.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "rtpenc.h"
#define SDP_MAX_SIZE 16384 #define SDP_MAX_SIZE 16384
static const AVOption options[] = { static const AVOption options[] = {
FF_RTP_FLAG_OPTS(RTSPState, rtp_muxer_flags),
{ NULL }, { NULL },
}; };
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#define LIBAVFORMAT_VERSION_MAJOR 53 #define LIBAVFORMAT_VERSION_MAJOR 53
#define LIBAVFORMAT_VERSION_MINOR 1 #define LIBAVFORMAT_VERSION_MINOR 1
#define LIBAVFORMAT_VERSION_MICRO 1 #define LIBAVFORMAT_VERSION_MICRO 2
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \ LIBAVFORMAT_VERSION_MINOR, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment