[MPlayer-cygwin] Re: Need help with ReplayTV mpeg Closed Captioning

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Oct 23 12:23:24 CEST 2004


Hi,
> >> +    static int normal_cc = 0;
> > Is static really needed here?
[...] 
> With a modified mplayer that recognizes both formats, I need a way to
> turn one stream off when both are present.  The variable "normal_cc" is
> there so that as soon as one DVD-style CC record is seen, mplayer will
> ignore replay style CC for the rest of the mpeg stream.  It has to be
> static because it has to persist from one invocation of the function to
> the next.

I think this variable should be global then, so that it can be reset
upon playing the next file. As I understand it, after the first file
with "normal_cc" all other files will play in that mode...

Greetings,
Reimar Döffinger




More information about the MPlayer-cygwin mailing list