[MPlayer-dev-eng] New filter - 3d checkboard maker

compn tempn at twmi.rr.com
Mon Jun 21 05:26:47 CEST 2010


On Sun, 20 Jun 2010 19:29:30 +0200, KrzysiekSX wrote:
>Now, attachment consist 3dcb_add.diff file, hope it is ok.
>In my environment it must be used this way:   patch -p0 <3dcb_add.diff

ooh, neat. i've seen a few people asking about 3d support.
there was another patch which was never applied:
http://www.mygnu.de/index.php/2010/01/stereoscopic-mplayer-working-again/

for anyone who wants to review these patches, we have some 3d samples
now: http://samples.mplayerhq.hu/3D/

i didnt test your patch, but i have a small comment.


>Index: libmpcodecs/vf.c
>===================================================================
>--- libmpcodecs/vf.c	(wersja 31475)
>+++ libmpcodecs/vf.c	(kopia robocza)
>@@ -118,6 +118,7 @@
> extern const vf_info_t vf_info_geq;
> extern const vf_info_t vf_info_ow;
> extern const vf_info_t vf_info_fixpts;
>+extern const vf_info_t vf_info_3dcb;
> 
> // list of available filters:
> static const vf_info_t* const filter_list[]={
>@@ -210,6 +211,7 @@
>     &vf_info_blackframe,
>     &vf_info_ow,
>     &vf_info_fixpts,
>+    &vf_info_3dcb,
>     NULL
> };
> 

this above is correct to keep backwards compatability

>Index: Makefile
>===================================================================
>--- Makefile	(wersja 31475)
>+++ Makefile	(kopia robocza)
>@@ -464,6 +464,7 @@
>               libmpcodecs/vf_yadif.c \
>               libmpcodecs/vf_yuvcsp.c \
>               libmpcodecs/vf_yvu9.c \
>+              libmpcodecs/vf_3dcb.c \
>               libmpdemux/aac_hdr.c \
>               libmpdemux/asfheader.c \
>               libmpdemux/aviheader.c \

this should be put in alphabetical order, below vf_2xsai.

-compn



More information about the MPlayer-dev-eng mailing list