Mercurial > mplayer.hg
view libmpcodecs/dec_video.h @ 21500:e7e7f397f991
Fix memleaks caused by missing vorbis/theora_info/comment_clear calls.
Code still seems wrong to me for multiple audio tracks, since there is
only one vorbis comment/info entry for the demuxer, not one per track?
author | reimar |
---|---|
date | Wed, 06 Dec 2006 10:46:50 +0000 |
parents | bfb6eacd9c4a |
children | 0af335b90a68 |
line wrap: on
line source
// dec_video.c: extern int video_read_properties(sh_video_t *sh_video); extern void vfm_help(void); extern int init_best_video_codec(sh_video_t *sh_video,char** video_codec_list,char** video_fm_list); //extern int init_video(sh_video_t *sh_video, int *pitches); extern int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status); extern void uninit_video(sh_video_t *sh_video); extern void *decode_video(sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame, double pts); extern int filter_video(sh_video_t *sh_video, void *frame, double pts); extern int get_video_quality_max(sh_video_t *sh_video); extern void set_video_quality(sh_video_t *sh_video,int quality); extern int get_video_colors(sh_video_t *sh_video,char *item,int *value); extern int set_video_colors(sh_video_t *sh_video,char *item,int value); extern int set_rectangle(sh_video_t *sh_video,int param,int value); extern void resync_video_stream(sh_video_t *sh_video); extern int get_current_video_decoder_lag(sh_video_t *sh_video); extern int divx_quality;