annotate libmpcodecs/dec_video.h @ 16718:044260623695

makes demux_lavf (-demuxer 35) use the framerate specified in the container if it's set and only fall back to the codec framerate if the former is not set. This solves the issue of some avi's playing at 30000/1 fps instead of the correct framerate. Patch by Ivo < ivop AH euronet POIS nl > Original thread: Date: Sep 25, 2005 12:34 AM Subject: [MPlayer-dev-eng] [PATCH] make demux_lavf use container framerate
author gpoirier
date Mon, 10 Oct 2005 05:45:38 +0000
parents efb37725d616
children f580a7755ac5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
1
6a74454ea121 some cleanup
arpi
parents:
diff changeset
2 // dec_video.c:
6a74454ea121 some cleanup
arpi
parents:
diff changeset
3 extern int video_read_properties(sh_video_t *sh_video);
6a74454ea121 some cleanup
arpi
parents:
diff changeset
4
7191
1eadce15446c -afm/-vfm help implemenetd, some cosmetics of ad/vd codec names/comments
arpi
parents: 7180
diff changeset
5 extern void vfm_help();
1eadce15446c -afm/-vfm help implemenetd, some cosmetics of ad/vd codec names/comments
arpi
parents: 7180
diff changeset
6
7506
c1cb94198e05 -vc/-vfm accepts codec/driver _list_ now. empty list element for -vc means
arpi
parents: 7502
diff changeset
7 extern int init_best_video_codec(sh_video_t *sh_video,char** video_codec_list,char** video_fm_list);
7502
6a2b6f3d619c best audio/video codec selection & init moved to libmpcodecs
arpi
parents: 7472
diff changeset
8
5174
17a7fb99b06b init_video() changed, make all extern
arpi
parents: 4741
diff changeset
9 //extern int init_video(sh_video_t *sh_video, int *pitches);
7180
28677d779205 -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible
arpi
parents: 6887
diff changeset
10 extern int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status);
5174
17a7fb99b06b init_video() changed, make all extern
arpi
parents: 4741
diff changeset
11 extern void uninit_video(sh_video_t *sh_video);
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
12
5507
d0d029fda134 video filter layer - written from scratch, but inspired a lot by Fredrik Kuivinen's patch
arpi
parents: 5174
diff changeset
13 extern int decode_video(sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame);
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
14
6a74454ea121 some cleanup
arpi
parents:
diff changeset
15 extern int get_video_quality_max(sh_video_t *sh_video);
6a74454ea121 some cleanup
arpi
parents:
diff changeset
16 extern void set_video_quality(sh_video_t *sh_video,int quality);
6a74454ea121 some cleanup
arpi
parents:
diff changeset
17
7731
1f8961f2b34c compiler warning fixes
arpi
parents: 7506
diff changeset
18 extern int get_video_colors(sh_video_t *sh_video,char *item,int *value);
5174
17a7fb99b06b init_video() changed, make all extern
arpi
parents: 4741
diff changeset
19 extern int set_video_colors(sh_video_t *sh_video,char *item,int value);
6887
66427e850216 Add the control VFCTRL_CHANGE_RECTANGLE
kmkaplan
parents: 5609
diff changeset
20 extern int set_rectangle(sh_video_t *sh_video,int param,int value);
11977
efb37725d616 flushing stuff after seeking (finally we can view MPEG without thouse blocks after seeking with -vc ffmpeg12)
michael
parents: 7731
diff changeset
21 extern void resync_video_stream(sh_video_t *sh_video);
2563
fc124f9db88e more cleanup, warnings fixed
arpi
parents: 2557
diff changeset
22
fc124f9db88e more cleanup, warnings fixed
arpi
parents: 2557
diff changeset
23 extern int divx_quality;