[MPlayer-G2-dev] Re: G2 CLI/GUI and config API again - a little request.

Andriy N. Gritsenko andrej at lucky.net
Tue May 13 22:26:51 CEST 2003


    Hi, Arpi!

Sometime (on Tuesday, May 13 at 22:00) I've received something...
>> Do you have any suggestions to do it without management of plugins by
>> UI/parser? I want to hear it, tell me, please.

>plugin management by the parser? what a nonsense.
>what about video decoding by audio filters? :)

audio filters cannot decode video but there is vf_open_filter() API to
manage filters and that standard API could be called from UI. So there is
difference between your samples. :)

Ok, I say again - I've found only two ways to parse a command "insert
filter vf_n after first filter in video chain" from command line or gui
or something else:
1) exit from commandline parser or UI with some exit code to let player
    insert that filter then continue work of parser/UI;
2) insert this filter into chain by calling vf_open_filter() from UI.

Note that if you use gui then you have to execute that immediately and
don't wait for start playing or something else so player/encoder/editor
could start vf->open() to configure it right after that.

Unfortunately, I didn't found other ways beside of these two. If you can
point me on some other way - it will be great. Anyway our parser/UI API
must allow that. It's why I've started that theme.

    With the best wishes.
    Andriy.



More information about the MPlayer-G2-dev mailing list