mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
Change -vo md5sum to not interleave U and V lines when calculating
the MD5, thus making it match FFmpeg's -f framemd5. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31208 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3009c1eff4
commit
25cb4330c9
@ -25,6 +25,7 @@ MPlayer (1.0)
|
||||
* support ISDB-Tb DVB streams
|
||||
|
||||
Drivers:
|
||||
* -vo md5sum md5 calculation changed so output matches FFmpeg's -f framemd5
|
||||
* Support for more formats in OpenGL video output drivers (different YUV
|
||||
subsampling, 16 bit per component)
|
||||
* Selectable YUV to RGB conversion standard for -vo gl
|
||||
|
@ -219,6 +219,8 @@ static uint32_t draw_image(mp_image_t *mpi)
|
||||
h = h / 2;
|
||||
for (i=0; i<h; i++) {
|
||||
av_md5_update(md5_context, planeU + i * strideU, w);
|
||||
}
|
||||
for (i=0; i<h; i++) {
|
||||
av_md5_update(md5_context, planeV + i * strideV, w);
|
||||
}
|
||||
av_md5_final(md5_context, md5sum);
|
||||
|
Loading…
Reference in New Issue
Block a user