# HG changeset patch # User reimar # Date 1390378051 0 # Node ID daae52791ca355fa21042a6aaf06bf6330cb517f # Parent ee7c40d5c534a30ddcf012871c79fb11ec57b695 vo_corevideo: Fix return value. This stops vf_vo from needlessly calling another draw function afterwards. diff -r ee7c40d5c534 -r daae52791ca3 libvo/vo_corevideo.m --- a/libvo/vo_corevideo.m Tue Jan 21 22:27:00 2014 +0000 +++ b/libvo/vo_corevideo.m Wed Jan 22 08:07:31 2014 +0000 @@ -260,7 +260,7 @@ 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)