rtspenc: Add RTP muxer options

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/2/head
Martin Storsjö 14 years ago
parent 6cf09bb7ef
commit e2e29c6247
  1. 5
      libavformat/rtsp.h
  2. 2
      libavformat/rtspenc.c
  3. 2
      libavformat/version.h

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

Loading…
Cancel
Save