Mercurial > mplayer.hg
view divx4_vbr.h @ 7663:eb3afb162aa4
* Fix for the broken MultiDec files I had originally posted with the
first version of the demuxer. They play ok now. Fix can be disabled
through conditional compiling, so just comment out the #define directive
if it breaks anything (see source).
* Demuxer now honours audio/video ids. Since PVAs only contain one audio
track and one video track by specification, they are vid 0 and aid 0.
This also fixes the "too many audio/video packets in buffer" with
-dump[audio|video].
* substituted longs with off_t's for offsets, so that it should work on
large files.
patch by Matteo Giani <matgiani@ctonet.it>
author | arpi |
---|---|
date | Mon, 07 Oct 2002 22:13:34 +0000 |
parents | 0e6e13261d79 |
children | f580a7755ac5 |
line wrap: on
line source
// methods from class VbrControl void VbrControl_init_1pass_vbr(int quality, int crispness); int VbrControl_init_2pass_vbr_encoding(const char* filename, int bitrate, double framerate, int crispness, int quality); int VbrControl_init_2pass_vbr_analysis(const char* filename, int quality); void VbrControl_update_1pass_vbr(); void VbrControl_update_2pass_vbr_encoding(int motion_bits, int texture_bits, int total_bits); void VbrControl_update_2pass_vbr_analysis(int is_key_frame, int motion_bits, int texture_bits, int total_bits, int quant); int VbrControl_get_quant(); void VbrControl_set_quant(float q); int VbrControl_get_intra(); short VbrControl_get_drop(); void VbrControl_close();