After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336190 - [gnomevfssink] should accept non-URI filenames as "location"
[gnomevfssink] should accept non-URI filenames as "location"
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal enhancement
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-27 13:44 UTC by Christian Fredrik Kalager Schaller
Modified: 2006-03-27 16:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
transcode2oggt script (201 bytes, text/plain)
2006-03-27 13:45 UTC, Christian Fredrik Kalager Schaller
Details

Description Christian Fredrik Kalager Schaller 2006-03-27 13:44:32 UTC
Please describe the problem:
Using the attached transcoding script I get the following error:

[cschalle@localhost ~]$ ./transcode2oggt diva001_2.avi diva001_2.ogg
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /pipeline0/gnomevfssink0: Could not open vfs file
"file:diva001_2.ogg" for writing: Invalid URI.
Additional debug info:
gstgnomevfssink.c(383): gst_gnome_vfs_sink_open_file (): /pipeline0/gnomevfssink0:
system error: Success
Setting pipeline to NULL ...
FREEING pipeline ...

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Christian Fredrik Kalager Schaller 2006-03-27 13:45:18 UTC
Created attachment 62123 [details]
transcode2oggt script
Comment 2 Christian Fredrik Kalager Schaller 2006-03-27 13:49:20 UTC
This works fine if I use 'filesink' in the attached script.
Comment 3 Tim-Philipp Müller 2006-03-27 16:18:58 UTC
Well, those aren't proper URIs and gnomevfs{src|sink} only really accept URIs.

However, given that gnomevfssrc actually seems to accept non-URI filepaths as well (like filesrc/filesink) it seems a good idea to make gnomevfssink do the same just for the sake of consistency:


 2006-03-27  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/gnomevfs/gstgnomevfs.c:
        (gst_gnome_vfs_location_to_uri_string):
        * ext/gnomevfs/gstgnomevfs.h:
        * ext/gnomevfs/gstgnomevfssink.c:
        (gst_gnome_vfs_sink_set_property):
        * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_set_property):
          Make gnomevfssink accept filenames as well as URIs for the
          "location" property, just like gnomevfssrc does (and
          filesrc/filesink do) (#336190).