[MPlayer-cvslog] r31208 - in trunk: Changelog libvo/vo_md5sum.c

reimar subversion at mplayerhq.hu
Mon May 24 19:51:15 CEST 2010


Author: reimar
Date: Mon May 24 19:51:15 2010
New Revision: 31208

Log:
Change -vo md5sum to not interleave U and V lines when calculating
the MD5, thus making it match FFmpeg's -f framemd5.

Modified:
   trunk/Changelog
   trunk/libvo/vo_md5sum.c

Modified: trunk/Changelog
==============================================================================
--- trunk/Changelog	Mon May 24 19:36:23 2010	(r31207)
+++ trunk/Changelog	Mon May 24 19:51:15 2010	(r31208)
@@ -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

Modified: trunk/libvo/vo_md5sum.c
==============================================================================
--- trunk/libvo/vo_md5sum.c	Mon May 24 19:36:23 2010	(r31207)
+++ trunk/libvo/vo_md5sum.c	Mon May 24 19:51:15 2010	(r31208)
@@ -219,6 +219,8 @@ static uint32_t draw_image(mp_image_t *m
             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);


More information about the MPlayer-cvslog mailing list