diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-01-30 22:55:12 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-01-30 22:55:12 +0000 |
commit | c55806e3a273b643f6e34c9806881fa2c777af0b (patch) | |
tree | c85d93ea34e9907c0e08667d52bd92b274962a53 /libavformat/avformat.h | |
parent | 6299a22904d00d6d628eaa7ab0c648f70dfa970d (diff) | |
download | ffmpeg-c55806e3a273b643f6e34c9806881fa2c777af0b.tar.gz |
Flag to ignore dts on frames that contain pts.
This works around common issues with mpeg-ps files with broken timestamps.
Also allows playing the broken sample from issue1024.
Originally committed as revision 21562 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index f654df8885..a1ebe4ef12 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -604,6 +604,7 @@ typedef struct AVFormatContext { #define AVFMT_FLAG_GENPTS 0x0001 ///< Generate missing pts even if it requires parsing future frames. #define AVFMT_FLAG_IGNIDX 0x0002 ///< Ignore index. #define AVFMT_FLAG_NONBLOCK 0x0004 ///< Do not block when reading packets from input. +#define AVFMT_FLAG_IGNDTS 0x0008 ///< Ignore DTS on frames that contain both DTS & PTS int loop_input; /** decoding: size of data to probe; encoding: unused. */ |