diff options
Diffstat (limited to 'audio/decode/dec_audio.h')
-rw-r--r-- | audio/decode/dec_audio.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/decode/dec_audio.h b/audio/decode/dec_audio.h index bc5c3793d8..be5fc44dfc 100644 --- a/audio/decode/dec_audio.h +++ b/audio/decode/dec_audio.h @@ -20,6 +20,7 @@ #define MPLAYER_DEC_AUDIO_H #include "audio/chmap.h" +#include "audio/audio.h" #include "demux/stheader.h" struct mp_audio_buffer; @@ -34,7 +35,10 @@ struct dec_audio { int initialized; char *decoder_desc; // set by decoder - int i_bps; // input bitrate + struct mp_audio decoded; // format of decoded audio (no data, temporarily + // different from decode_buffer during format + // changes) + int i_bps; // input bitrate, can change with VBR sources // last known pts value in output from decoder double pts; // number of samples output by decoder after last known pts |