diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-10-09 09:22:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-10-28 14:57:01 +0100 |
commit | 108864acee1d7b0cde653cee113f3001f1b8915a (patch) | |
tree | 96810925f5013ba221574b8132390f5cb05cf5a8 /libavformat/internal.h | |
parent | 456b170bd747ea7181c7305fd45278ea251f45ab (diff) | |
download | ffmpeg-108864acee1d7b0cde653cee113f3001f1b8915a.tar.gz |
lavf: move AVStream.{request_probe,skip_to_keyframe} to AVStreamInternal
Those are private fields, no reason to have them exposed in a public
header.
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 12105aa7d0..d8ceebb26e 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -226,6 +226,19 @@ struct AVStreamInternal { } *info; /** + * stream probing state + * -1 -> probing finished + * 0 -> no probing requested + * rest -> perform probing with request_probe being the minimum score to accept. + */ + int request_probe; + /** + * Indicates that everything up to the next keyframe + * should be discarded. + */ + int skip_to_keyframe; + + /** * Number of samples to skip at the start of the frame decoded from the next packet. */ int skip_samples; |