Mercurial > mplayer.hg
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 |
rev | line source |
---|---|
2557 | 1 |
2 // dec_video.c: | |
3 extern int video_read_properties(sh_video_t *sh_video); | |
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 | 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 | 11 extern void uninit_video(sh_video_t *sh_video); |
2557 | 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 | 14 |
15 extern int get_video_quality_max(sh_video_t *sh_video); | |
16 extern void set_video_quality(sh_video_t *sh_video,int quality); | |
17 | |
7731 | 18 extern int get_video_colors(sh_video_t *sh_video,char *item,int *value); |
5174 | 19 extern int set_video_colors(sh_video_t *sh_video,char *item,int value); |
6887 | 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 | 22 |
23 extern int divx_quality; |