[MPlayer-dev-eng] softskip doesn't copy quant tables
Trent Piepho
xyzzy at speakeasy.org
Tue Dec 5 11:40:30 CET 2006
Putting softskip before pp will disable the pp filter (with no warning),
since pp needs the quant tables. This one line patch adds code to copy the
quant tables.
-------------- next part --------------
Index: vf_softskip.c
===================================================================
--- vf_softskip.c (revision 21507)
+++ vf_softskip.c (working copy)
@@ -24,6 +24,7 @@
dmpi = vf_get_image(vf->next, mpi->imgfmt,
MP_IMGTYPE_EXPORT, 0, mpi->width, mpi->height);
+ vf_clone_mpi_attributes(dmpi, mpi);
dmpi->planes[0] = mpi->planes[0];
dmpi->stride[0] = mpi->stride[0];
More information about the MPlayer-dev-eng
mailing list