plugins/elements/: Special case the "file://" URI as as this is used by some applicat...
authorSebastian Dröge <slomo@circular-chaos.org>
Fri, 27 Apr 2007 07:27:36 +0000 (07:27 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 27 Apr 2007 07:27:36 +0000 (07:27 +0000)
commitce4da7c6612fc22668543f919ff4bcce9a22adc7
tree0e5fc5b649be6110773cac7c3e82b831f491491c
parent2c5a8cdb3106ae1759e04d6c80e571654efada62
plugins/elements/: Special case the "file://" URI as as this is used by some applications to test with gst_element_ma...

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
* plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
Special case the "file://" URI as as this is used by some
applications to test with gst_element_make_from_uri if there's
an element that supports the URI protocol.
Also move the g_path_is_absolute() check for the location part
of the URI to also check this for "file://localhost/bla" URIs.
ChangeLog
plugins/elements/gstfilesink.c
plugins/elements/gstfilesrc.c