frame{crc/md5}: set the stream timebase from codec timebase.
Right now those muxers use the default timebase in all cases(1/90000). This patch avoid unnecessary rescaling and makes the printed timestamps more readable. Also, extend the printed information to include the timebases and packet pts/duration and align the columns. Obviously changes the results of all fate tests which use those two muxers.
Showing
- libavformat/Makefile 2 additions, 2 deletionslibavformat/Makefile
- libavformat/framecrcenc.c 4 additions, 1 deletionlibavformat/framecrcenc.c
- libavformat/framehash.c 33 additions, 0 deletionslibavformat/framehash.c
- libavformat/internal.h 6 additions, 0 deletionslibavformat/internal.h
- libavformat/md5enc.c 4 additions, 1 deletionlibavformat/md5enc.c
- tests/ref/fate/4xm-1 16 additions, 15 deletionstests/ref/fate/4xm-1
- tests/ref/fate/4xm-2 175 additions, 174 deletionstests/ref/fate/4xm-2
- tests/ref/fate/8bps 37 additions, 35 deletionstests/ref/fate/8bps
- tests/ref/fate/aasc 24 additions, 23 deletionstests/ref/fate/aasc
- tests/ref/fate/adpcm-ea-mad-ea-r1 193 additions, 191 deletionstests/ref/fate/adpcm-ea-mad-ea-r1
- tests/ref/fate/adpcm-ea-tqi 53 additions, 51 deletionstests/ref/fate/adpcm-ea-tqi
- tests/ref/fate/adpcm-psx-str-v3 38 additions, 37 deletionstests/ref/fate/adpcm-psx-str-v3
- tests/ref/fate/adpcm-thp 145 additions, 143 deletionstests/ref/fate/adpcm-thp
- tests/ref/fate/alg-mm 32 additions, 31 deletionstests/ref/fate/alg-mm
- tests/ref/fate/amv 322 additions, 320 deletionstests/ref/fate/amv
- tests/ref/fate/ansi 18 additions, 17 deletionstests/ref/fate/ansi
- tests/ref/fate/armovie-escape124 106 additions, 104 deletionstests/ref/fate/armovie-escape124
- tests/ref/fate/auravision-v1 25 additions, 24 deletionstests/ref/fate/auravision-v1
- tests/ref/fate/auravision-v2 3 additions, 2 deletionstests/ref/fate/auravision-v2
- tests/ref/fate/bethsoft-vid 143 additions, 141 deletionstests/ref/fate/bethsoft-vid
Loading
Please register or sign in to comment