Mercurial > libavformat.hg
diff avformat.h @ 5613:529c473fe20e libavformat
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.
author | michael |
---|---|
date | Sat, 30 Jan 2010 22:55:12 +0000 |
parents | 96d885709963 |
children | 049c66109825 |
line wrap: on
line diff
--- a/avformat.h Sat Jan 30 22:05:26 2010 +0000 +++ b/avformat.h Sat Jan 30 22:55:12 2010 +0000 @@ -604,6 +604,7 @@ #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. */