Add request_sample_fmt field to AVCodecContext.
This will allow audio decoders to support output of different sample formats as a runtime option.
This commit is contained in:
parent
32f8fb8ecf
commit
64150ff014
3 changed files with 14 additions and 1 deletions
|
|
@ -2836,6 +2836,13 @@ typedef struct AVCodecContext {
|
|||
* - decoding: Set by libavcodec.
|
||||
*/
|
||||
enum AVAudioServiceType audio_service_type;
|
||||
|
||||
/**
|
||||
* Used to request a sample format from the decoder.
|
||||
* - encoding: unused.
|
||||
* - decoding: Set by user.
|
||||
*/
|
||||
enum AVSampleFormat request_sample_fmt;
|
||||
} AVCodecContext;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue