avcodec: Add discard_sample_percentage
Suggested-by: BBB Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
b860f2218a
commit
5bcefceec8
6 changed files with 17 additions and 1 deletions
|
|
@ -3345,6 +3345,14 @@ typedef struct AVCodecContext {
|
|||
* used as reference pictures).
|
||||
*/
|
||||
int extra_hw_frames;
|
||||
|
||||
/**
|
||||
* The percentage of damaged samples to discard a frame.
|
||||
*
|
||||
* - decoding: set by user
|
||||
* - encoding: unused
|
||||
*/
|
||||
int discard_damaged_percentage;
|
||||
} AVCodecContext;
|
||||
|
||||
#if FF_API_CODEC_GET_SET
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue