rtspenc: Add RTP muxer options

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2011-05-21 15:03:48 +03:00
parent 6cf09bb7ef
commit e2e29c6247
3 changed files with 8 additions and 1 deletions

View File

@ -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;
/** /**

View File

@ -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 },
}; };

View File

@ -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, \