You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
avformat: add 48 fps to the NTSC framerates
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
2d61f0040d
commit
6d887ecac2
@ -726,7 +726,7 @@ typedef struct AVStream {
|
|||||||
/**
|
/**
|
||||||
* Stream information used internally by av_find_stream_info()
|
* Stream information used internally by av_find_stream_info()
|
||||||
*/
|
*/
|
||||||
#define MAX_STD_TIMEBASES (60*12+5)
|
#define MAX_STD_TIMEBASES (60*12+6)
|
||||||
struct {
|
struct {
|
||||||
int64_t last_dts;
|
int64_t last_dts;
|
||||||
int64_t duration_gcd;
|
int64_t duration_gcd;
|
||||||
|
@ -2422,7 +2422,7 @@ static void compute_chapters_end(AVFormatContext *s)
|
|||||||
|
|
||||||
static int get_std_framerate(int i){
|
static int get_std_framerate(int i){
|
||||||
if(i<60*12) return i*1001;
|
if(i<60*12) return i*1001;
|
||||||
else return ((const int[]){24,30,60,12,15})[i-60*12]*1000*12;
|
else return ((const int[]){24,30,60,12,15,48})[i-60*12]*1000*12;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user