[MPlayer-cvslog] r30646 - in trunk/libmpcodecs: vd_dmo.c vd_dshow.c

reimar subversion at mplayerhq.hu
Thu Feb 18 23:34:27 CET 2010


Author: reimar
Date: Thu Feb 18 23:34:27 2010
New Revision: 30646

Log:
DShow and DMO decoders need MP_IMGFLAG_COMMON_PLANE

Modified:
   trunk/libmpcodecs/vd_dmo.c
   trunk/libmpcodecs/vd_dshow.c

Modified: trunk/libmpcodecs/vd_dmo.c
==============================================================================
--- trunk/libmpcodecs/vd_dmo.c	Thu Feb 18 23:28:55 2010	(r30645)
+++ trunk/libmpcodecs/vd_dmo.c	Thu Feb 18 23:34:27 2010	(r30646)
@@ -90,7 +90,7 @@ static mp_image_t* decode(sh_video_t *sh
 	return NULL;
     }
 
-    mpi=mpcodecs_get_image(sh, MP_IMGTYPE_TEMP, 0 /*MP_IMGFLAG_ACCEPT_STRIDE*/,
+    mpi=mpcodecs_get_image(sh, MP_IMGTYPE_TEMP, MP_IMGFLAG_COMMON_PLANE,
 	sh->disp_w, sh->disp_h);
 
     if(!mpi){	// temporary!

Modified: trunk/libmpcodecs/vd_dshow.c
==============================================================================
--- trunk/libmpcodecs/vd_dshow.c	Thu Feb 18 23:28:55 2010	(r30645)
+++ trunk/libmpcodecs/vd_dshow.c	Thu Feb 18 23:34:27 2010	(r30646)
@@ -119,7 +119,7 @@ static mp_image_t* decode(sh_video_t *sh
 	return NULL;
     }
 
-    mpi=mpcodecs_get_image(sh, MP_IMGTYPE_TEMP, 0 /*MP_IMGFLAG_ACCEPT_STRIDE*/,
+    mpi=mpcodecs_get_image(sh, MP_IMGTYPE_TEMP, MP_IMGFLAG_COMMON_PLANE,
 	sh->disp_w, sh->disp_h);
 
     if(!mpi){	// temporary!


More information about the MPlayer-cvslog mailing list