[MPlayer-dev-eng] [PATCH] processing "file:///" URL (resending)

Nico Sabbi nsabbi at tiscali.it
Fri May 13 22:41:29 CEST 2005


Eugene Crosser wrote:

> Gentlemen,
>
> a while ago, I sent a patch that allows mplayer to accept "file:///..."
> URLs which greatly simplifies its integration with desktop environments
> such as Gnome (it now can be configured as application that handles
> "video/*" etc. mime-types).
>
> People on this list pointed on a memory leak in my original patch, and I
> sent a revised version, which I think might have been overlooked.  I am
> resending it, please consider.
>
> Thanks
>
> Eugene


the current stream API provides a mechanism to access urls: in stream_file.c
there's this initilizer

stream_info_t stream_info_file = {
  "File",
  "file",
  "Albeu",
  "based on the code from ??? (probably Arpi)",
  open_f,
  { "file", "", NULL },
  &stream_opts,
  1 // Urls are an option string
};

that provides a way to access a file using file:// syntax, but it's not 
working.
This means there's a bug to fix properly in the stream driver




More information about the MPlayer-dev-eng mailing list