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 756630 - Add URI construction to help newbies
Add URI construction to help newbies
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: documentation
git master
Other Linux
: Normal enhancement
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-15 11:34 UTC by yash
Modified: 2015-10-16 11:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description yash 2015-10-15 11:34:07 UTC
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-metadata.html

The example above takes a parameter in URI format. But a naive attempt to invoke it as: file://test.ogg will fail. 

file://`pwd`/test.ogg should be used instead.

It would be lovely to take a file name as a parameter instead, and construct an URI using sprintf() or similar to avoid this kind of problem.
Comment 1 Tim-Philipp Müller 2015-10-16 11:25:05 UTC
commit 0a5fbd4d3b4244e30c6703a58230c04a42754573
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Fri Oct 16 11:54:18 2015 +0100

    docs: manual: improve advanced metadata example a bit
    
    Accept both filename and a URI as argument, and print
    the error from the error message if there's an error.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756630

(Not updated on website yet though.)