summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-04-02 23:58:24 +0000
committerjstebbins <[email protected]>2010-04-02 23:58:24 +0000
commit7397025b5095f6154f69b5529a79791d5588d935 (patch)
tree0ab6e53e6f7a6bf3b55eddb8143827dcd0765713 /libhb/common.h
parentfc299fb336fa32722f04e529e987c27d67dddb26 (diff)
fix audio detection problem during scan of ffmpeg audio sources
audio frames can be larger than their container packet sizes, but during scan, we only feed one container packet to the decoder, then reset the decoder and try the next packet. so the audio is never detected. as buffers are tested, they are added to a cache. the entire cache is passed to the decoder to scan for info. the cache is limited to 4KB. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3195 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index cf1dc02d8..69c6ddea0 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -436,6 +436,7 @@ struct hb_audio_s
hb_esconfig_t config;
hb_mux_data_t * mux_data;
+ hb_fifo_t * scan_cache;
} priv;
};
#endif