[MPlayer-dev-eng] About r16155…

Clément Bœsch ubitux at gmail.com
Thu May 5 23:28:45 CEST 2011


Yeah I know it's pretty old. But it seems this change introduced a strange
warning. Is the attached patch correct? Should I select chroma? Something
else? I admit I didn't test…

Also, about the other warnings, the getSubSampleFactors (copied in a few
other places) can be replaced with mp_get_chroma_shift and will fix the
issue.

Regards,

-- 
Clément B.
-------------- next part --------------
Index: libmpcodecs/vf_smartblur.c
===================================================================
--- libmpcodecs/vf_smartblur.c	(revision 33381)
+++ libmpcodecs/vf_smartblur.c	(working copy)
@@ -183,7 +183,7 @@
 static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){
     int cw= mpi->w >> mpi->chroma_x_shift;
     int ch= mpi->h >> mpi->chroma_y_shift;
-    FilterParam *f= &vf->priv;
+    FilterParam *f= &vf->priv->luma;
 
     mp_image_t *dmpi=vf_get_image(vf->next,mpi->imgfmt,
         MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110505/d464d93b/attachment.asc>


More information about the MPlayer-dev-eng mailing list