[MPlayer-cvslog] r36689 - trunk/libvo/vo_corevideo.m

reimar subversion at mplayerhq.hu
Wed Jan 22 09:07:31 CET 2014


Author: reimar
Date: Wed Jan 22 09:07:31 2014
New Revision: 36689

Log:
vo_corevideo: Fix return value.

This stops vf_vo from needlessly calling another
draw function afterwards.

Modified:
   trunk/libvo/vo_corevideo.m

Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m	Tue Jan 21 23:27:00 2014	(r36688)
+++ trunk/libvo/vo_corevideo.m	Wed Jan 22 09:07:31 2014	(r36689)
@@ -260,7 +260,7 @@ static uint32_t draw_image(mp_image_t *m
 	if (!(mpi->flags & MP_IMGFLAG_DIRECT))
 	memcpy_pic(image_data, mpi->planes[0], image_width*image_bytes, image_height, image_stride, mpi->stride[0]);
 
-	return 0;
+	return VO_TRUE;
 }
 
 static int query_format(uint32_t format)


More information about the MPlayer-cvslog mailing list