[FFmpeg-cvslog] r23161 - in trunk/libavformat: avformat.h options.c

mstorsjo subversion
Tue May 18 21:34:21 CEST 2010


Author: mstorsjo
Date: Tue May 18 21:34:21 2010
New Revision: 23161

Log:
Add a flag for enabling RTP hinting

Modified:
   trunk/libavformat/avformat.h
   trunk/libavformat/options.c

Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h	Tue May 18 21:32:59 2010	(r23160)
+++ trunk/libavformat/avformat.h	Tue May 18 21:34:21 2010	(r23161)
@@ -653,6 +653,7 @@ typedef struct AVFormatContext {
 #define AVFMT_FLAG_IGNDTS       0x0008 ///< Ignore DTS on frames that contain both DTS & PTS
 #define AVFMT_FLAG_NOFILLIN     0x0010 ///< Do not infer any values from other values, just return what is stored in the container
 #define AVFMT_FLAG_NOPARSE      0x0020 ///< Do not use AVParsers, you also must set AVFMT_FLAG_NOFILLIN as the fillin code works on frames and no parsing -> no frames. Also seeking to frames can not work if parsing to find frame boundaries has been disabled
+#define AVFMT_FLAG_RTP_HINT     0x0040 ///< Add RTP hinting to the output file
 
     int loop_input;
     /** decoding: size of data to probe; encoding: unused. */

Modified: trunk/libavformat/options.c
==============================================================================
--- trunk/libavformat/options.c	Tue May 18 21:32:59 2010	(r23160)
+++ trunk/libavformat/options.c	Tue May 18 21:34:21 2010	(r23161)
@@ -49,6 +49,7 @@ static const AVOption options[]={
 {"nofillin", "do not fill in missing values that can be exactly calculated", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_NOFILLIN, INT_MIN, INT_MAX, D, "fflags"},
 {"noparse", "disable AVParsers, this needs nofillin too", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_NOPARSE, INT_MIN, INT_MAX, D, "fflags"},
 {"igndts", "ingore dts", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_IGNDTS, INT_MIN, INT_MAX, D, "fflags"},
+{"rtphint", "add rtp hinting", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_RTP_HINT, INT_MIN, INT_MAX, E, "fflags"},
 #if LIBAVFORMAT_VERSION_INT < (53<<16)
 {"track", " set the track number", OFFSET(track), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, E},
 {"year", "set the year", OFFSET(year), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, E},



More information about the ffmpeg-cvslog mailing list