Commit cc2a2fc
committed
vcomp/lavc: improve time_base setting
for /1001 formats eg. 29.97, 1/30 was set - improve to set 1001/30000
for AVCodecCtx.framerate just invert the time_base fraction1 parent 9e5cb70 commit cc2a2fc
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
953 | 954 | | |
954 | 955 | | |
955 | 956 | | |
956 | | - | |
957 | | - | |
958 | | - | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
959 | 960 | | |
960 | 961 | | |
961 | 962 | | |
| |||
0 commit comments