mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-09 16:50:01 +00:00
avconv: set the output stream timebase
This is required by the new API.
This commit is contained in:
parent
c9c1265c52
commit
3f3232a371
2
avconv.c
2
avconv.c
@ -1972,6 +1972,8 @@ static int transcode_init(void)
|
|||||||
"Error initializing the output stream codec context.\n");
|
"Error initializing the output stream codec context.\n");
|
||||||
exit_program(1);
|
exit_program(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ost->st->time_base = ost->enc_ctx->time_base;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* init input streams */
|
/* init input streams */
|
||||||
|
Loading…
Reference in New Issue
Block a user