ftp:// support in linux and in win32

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ftp:// support in linux and in win32

wl2776
Administrator
I've studied gst-inspect giosrc both in linux and in windows (Latest OSSBuild).

The comparison shows that linux giosrc supports much more uri schemes that windows one.

Linux:
$ gst-inspect giosrc
...
URI handling capabilities:
  Element can act as source.
  Supported URI protocols:
    file
    ftp
    dns-sd
    afc
    smb
    network
    trash
    davs
    dav
    computer
    davs+sd
    dav+sd
    localtest
    burn
    obex
    archive
    gphoto2
    sftp
    ssh
...
Win32, using the latest OSSBuild:
c:\> gst-inspect giosrc
...
URI handling capabilities:
  Element can act as source.
  Supported URI protocols:
    file
...

Where have all protocols gone?

$GST_PLUGINS_BASE/ext/gio/gstgio.c has the function
static gpointer
_internal_get_supported_protocols (gpointer data)
which calls g_vfs_get_supported_uri_schemes

So, is such lack of schemes caused by the fact that this Glib instance supports only file:// ?
Reply | Threaded
Open this post in threaded view
|

Re: ftp:// support in linux and in win32

Benjamin Otte
Yes.

gio supports plugins, and on Linux, those plugins are usually provided
by gvfs.

Benjamin


On Thu, 2010-09-09 at 04:44 -0700, wl2776 wrote:

> I've studied gst-inspect giosrc both in linux and in windows (Latest
> OSSBuild).
>
> The comparison shows that linux giosrc supports much more uri schemes that
> windows one.
>
> Linux:
> $ gst-inspect giosrc
> ...
> URI handling capabilities:
>   Element can act as source.
>   Supported URI protocols:
>     file
>     ftp
>     dns-sd
>     afc
>     smb
>     network
>     trash
>     davs
>     dav
>     computer
>     davs+sd
>     dav+sd
>     localtest
>     burn
>     obex
>     archive
>     gphoto2
>     sftp
>     ssh
> ...
>
> Win32, using the latest OSSBuild:
> c:\> gst-inspect giosrc
> ...
> URI handling capabilities:
>   Element can act as source.
>   Supported URI protocols:
>     file
> ...
>
> Where have all protocols gone?
>
> $GST_PLUGINS_BASE/ext/gio/gstgio.c has the function
> static gpointer
> _internal_get_supported_protocols (gpointer data)
>
> which calls g_vfs_get_supported_uri_schemes
>
> So, is such lack of schemes caused by the fact that this Glib instance
> supports only file:// ?
>



------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel