[MPlayer-dev-eng] [PATCH] sub_load and sub_remove slave mode commands
Salvatore Falco
sfalco at studenti.ing.uniroma1.it
Tue May 3 13:45:09 CEST 2005
On Tue, May 03, 2005 at 07:18:10AM -0400, kiriuja wrote:
> > I do not understand this: you call sub_load giving the filename, but you
> > must call sub_remove with subtitle index: how can you get that index, if
> > you know only the subtitle filename?
>
> If you run MPlayer with -identify option, you will see that it gives you
> the indexes of all subtitle files, including autoloaded ones. Also when
> you do sub_load, it gives you the index of the loaded subtitle.
I frankly believe that a name-based approach is more user-friendly, at
the price of a couple of strcmp.
--
Saluti, Salvatore Falco
--
"We all know Linux is great... it does infinite loops
in 5 seconds."
[Linus Torvalds about the superiority of Linux]
More information about the MPlayer-dev-eng
mailing list