summaryrefslogtreecommitdiffstats
path: root/audio/decode/dec_audio.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/decode/dec_audio.h')
-rw-r--r--audio/decode/dec_audio.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/decode/dec_audio.h b/audio/decode/dec_audio.h
index 08fa87e8a7..ab7ae3375a 100644
--- a/audio/decode/dec_audio.h
+++ b/audio/decode/dec_audio.h
@@ -33,12 +33,13 @@ struct dec_audio {
struct mpv_global *global;
const struct ad_functions *ad_driver;
struct sh_stream *header;
- struct mp_audio_buffer *decode_buffer;
struct af_stream *afilter;
char *decoder_desc;
int init_retries;
+ struct mp_audio_pool *pool;
+ struct mp_audio decode_format;
+ struct mp_audio *waiting; // used on format-change
// set by decoder
- struct mp_audio decoded; // decoded audio set by last decode_packet() call
int bitrate; // input bitrate, can change with VBR sources
// last known pts value in output from decoder
double pts;