[MPlayer-users] Where to find information about customtex, customprog and fragment programs
Paul Jowett
paul.jowett at systemic.com.au
Thu Apr 29 08:54:47 CEST 2010
>> Especially when trying to get mplayer
>> to work with customtex files on Windows ("[gl] Error parsing
>> customtex" is a problem from vo_gl.c).
>
> What format is the customtex file in?
> EIther way it might be fixed.
>
I found the problem with loading the customtex file under Windows: the
vo_gl.c code opens the custom tex file (which I presume will almost
always be an image file) but doesn't specify binary mode:
FILE *f = fopen(custom_tex, "r");
Changing this to
FILE *f = fopen(custom_tex, "rb");
corrects the loading of binary textures. I'm not sure why the binary
indicator is not required on MacOSX which happily loads the same image
textures.
More information about the MPlayer-users
mailing list