[vlc-devel] [Patch] Don't compute a psz_file when something is not a file.

Rémi Denis-Courmont remi at remlab.net
Tue Feb 28 10:15:39 CET 2012

<beauze.h at gmail.com> wrote:
> When a demux is created, a psz_file member is computed, based on the
> mrl : "file://<location>", no matter what <location> is.
> This seems wrong when using, for instance, a HTTP based file.

Computing psz_file all the time is both easier and faster than
implementing an artificial intelligence to determine whether it is useful
to compute it.

There are a number of MRL schemes beside "file" that expect local file

Rémi Denis-Courmont

More information about the vlc-devel mailing list