Mercurial > mplayer.hg
view libmpcodecs/dec_audio.h @ 10323:48a7bc316e45
Patch by Tom Lees <tal26 (at) cam.ac.uk>
This patch fixes two minor problems the vo_xv driver has:
1. Starting in fullscreen e.g. (mplayer -fs dvd://1) will have a window
which doesn't extend all the way down the screen unless you have a 4:3
movie.
2. Monitoraspect is not used so e.g. showing a movie when in 1280x1024
desktop looks wrong.
BTW: maybe vo_xv.c should be reindented. it's getting more and more
unreadable
author | attila |
---|---|
date | Sun, 22 Jun 2003 10:09:04 +0000 |
parents | 420e2b2f8e5a |
children | 663c1ea5f595 |
line wrap: on
line source
// dec_audio.c: extern void afm_help(); //extern int init_best_audio_codec(sh_audio_t *sh_audio,char* audio_codec,char* audio_fm); extern int init_audio_codec(sh_audio_t *sh_audio); extern int init_audio(sh_audio_t *sh_audio,char* codecname,char* afm,int status); extern int init_best_audio_codec(sh_audio_t *sh_audio,char** audio_codec_list,char** audio_fm_list); extern int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen); extern void resync_audio_stream(sh_audio_t *sh_audio); extern void skip_audio_frame(sh_audio_t *sh_audio); extern void uninit_audio(sh_audio_t *sh_audio); extern int init_audio_filters(sh_audio_t *sh_audio, int in_samplerate, int in_channels, int in_format, int in_bps, int out_samplerate, int out_channels, int out_format, int out_bps, int out_minsize, int out_maxsize); extern int preinit_audio_filters(sh_audio_t *sh_audio, int in_samplerate, int in_channels, int in_format, int in_bps, int* out_samplerate, int* out_channels, int* out_format, int out_bps);