aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-05-20 12:27:02 +0300
committerMartin Storsjö <martin@martin.st>2011-05-27 19:56:44 +0300
commit28734ac995ef4ea9be2203144362a585b2296637 (patch)
tree2b1d01f864006514c0b57deff584ec716808458b /libavformat/avformat.h
parent91e3a25ef6de2efcbea38ec0f6ffd3f8785962a2 (diff)
downloadffmpeg-28734ac995ef4ea9be2203144362a585b2296637.tar.gz
movenc: Deprecate the global RTP hinting flag, use a private AVOption instead
Instead of -fflags rtphint, set -movflags rtphint instead. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 2ea940c186..849a85d1cc 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -723,7 +723,9 @@ 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
+#if FF_API_FLAG_RTP_HINT
+#define AVFMT_FLAG_RTP_HINT 0x0040 ///< Deprecated, use the -movflags rtphint muxer specific AVOption instead
+#endif
int loop_input;