# HG changeset patch # User reimar # Date 1289748953 0 # Node ID 45b3a91e8fb70b8126fafa581723ac82f75e04f1 # Parent 0143883f2e8b0096cd5e461b7c31167163f8f817 Indicate that stereo3d can now handle strides properly. diff -r 0143883f2e8b -r 45b3a91e8fb7 libmpcodecs/vf_stereo3d.c --- a/libmpcodecs/vf_stereo3d.c Sun Nov 14 15:34:27 2010 +0000 +++ b/libmpcodecs/vf_stereo3d.c Sun Nov 14 15:35:53 2010 +0000 @@ -247,7 +247,8 @@ 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 @@ vf->uninit = uninit; vf->put_image = put_image; vf->query_format = query_format; - vf->default_reqs = VFCAP_ACCEPT_STRIDE; return 1; }