[vlc-devel] [PATCHv2] Fix input variables
Pierre Ynard
linkfanel at yahoo.fr
Wed Nov 24 13:35:05 CET 2010
> On Wed, 24 Nov 2010 12:00:30 +0100, Pierre Ynard <linkfanel at yahoo.fr>
> wrote:
> > For example, try playing an input with some stream output related
> > options (like :sout-rtp-sap and :sout-rtp-name=foobar, that's what
> > the GUI wizard does). The sout object is not a child of the input so
> > variables are never inherited, and they go ignored. This is broken and
> > probably needs to be fixed.
>
> I completely disagree. Those options should be ignored in the input
> item. They never worked properly anyway: the stream output took the
> options from the first item and wrongly assumed the subsequent items
> would use the same option values until the user pressed stop and start
> again. That made absolutely no sense.
>
> If you want to pass stream output options per items, then you must
> not use sout-keep. In other words, you cannot have the butter and the
> money for the butter.
Who said I wanted to use sout-keep? And these are just examples among
the many aout, vout and sout options, I'm not going to go through them
to point out which ones might be good to fix or not. This is also
breaking all the existing user scripts that use per-input option syntax.
Since support for per-input options got broken, I assumed the plan
was to fix it, but it's also possible to start discussing alternative
architectural reworks.
--
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
More information about the vlc-devel
mailing list