[MPlayer-cvslog] r32628 - trunk/libmpcodecs/vf_stereo3d.c
reimar
subversion at mplayerhq.hu
Sun Nov 14 16:35:53 CET 2010
Author: reimar
Date: Sun Nov 14 16:35:53 2010
New Revision: 32628
Log:
Indicate that stereo3d can now handle strides properly.
Modified:
trunk/libmpcodecs/vf_stereo3d.c
Modified: trunk/libmpcodecs/vf_stereo3d.c
==============================================================================
--- trunk/libmpcodecs/vf_stereo3d.c Sun Nov 14 16:34:27 2010 (r32627)
+++ trunk/libmpcodecs/vf_stereo3d.c Sun Nov 14 16:35:53 2010 (r32628)
@@ -247,7 +247,8 @@ static int put_image(struct vf_instance
int in_off_right = vf->priv->in.row_right * mpi->stride[0] +
vf->priv->in.off_right;
- dmpi = vf_get_image(vf->next, IMGFMT_RGB24, MP_IMGTYPE_TEMP, 0,
+ dmpi = vf_get_image(vf->next, IMGFMT_RGB24, MP_IMGTYPE_TEMP,
+ MP_IMGFLAG_ACCEPT_STRIDE,
vf->priv->out.width, vf->priv->out.height);
out_off_left = vf->priv->out.row_left * dmpi->stride[0] +
vf->priv->out.off_left;
@@ -349,7 +350,6 @@ static int vf_open(vf_instance_t *vf, ch
vf->uninit = uninit;
vf->put_image = put_image;
vf->query_format = query_format;
- vf->default_reqs = VFCAP_ACCEPT_STRIDE;
return 1;
}
More information about the MPlayer-cvslog
mailing list