avconv: set the output stream timebase
This is required by the new API.
This commit is contained in:
parent
c9c1265c52
commit
3f3232a371
1 changed files with 2 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue