diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-17 00:08:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-18 19:19:47 +0200 |
commit | 28ff17fa9761706ec5f07c07ce9ff04816536749 (patch) | |
tree | faeb4c0ae793125d1a4786da99d23ccf14aa4bf0 /libavformat/avformat.h | |
parent | 92b8c9d89e7ae86bffa05393bb230d5a165b0148 (diff) | |
download | ffmpeg-28ff17fa9761706ec5f07c07ce9ff04816536749.tar.gz |
lavf: add use_wallclock_as_timestamps
This may fix Ticket730
Reviewed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 05b4fc74cf..b635ae7cf3 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1100,6 +1100,14 @@ typedef struct AVFormatContext { */ int max_chunk_size; + /** + * forces the use of wallclock timestamps as pts/dts of packets + * This has undefined results in the presence of B frames. + * - encoding: unused + * - decoding: Set by user via AVOptions (NO direct access) + */ + int use_wallclock_as_timestamps; + /***************************************************************** * All fields below this line are not part of the public API. They * may not be used outside of libavformat and can be changed and |