Mercurial > mplayer.hg
changeset 36593:daae52791ca3
vo_corevideo: Fix return value.
This stops vf_vo from needlessly calling another
draw function afterwards.
author | reimar |
---|---|
date | Wed, 22 Jan 2014 08:07:31 +0000 |
parents | ee7c40d5c534 |
children | 8c5bec08a72d |
files | libvo/vo_corevideo.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)