Playbin and DVB

Sebastian Dröge sebastian at centricular.com
Sat Mar 19 10:34:20 UTC 2016


On Sa, 2016-03-19 at 10:01 +0000, Russel Winder wrote:
> On Sat, 2016-03-19 at 11:28 +0200, Sebastian Dröge wrote:
> > 
> > […]
> > Spaces are not valid in URIs, you have to escape them. I.e. replace
> > spaces with %20, other special characters with other things.
> […]
> 
> I suspect then that the broken status quo is better than fixing
> anything: good user experience should allow users to enter spaces and
> see spaces at all times through the system!

Yes, that's why you never show a real URI to the user but instead some
kind of beautified URI. Look at what Firefox for example does. It
doesn't even show you the URI scheme anymore, and transparently
converts special characters between human-readable and percent-encoded.

>  It actually works as is so clearly the DVB elements are happy with spaces – they have to be as
> that is what comes down the line. Having to convert from space to %20
> and back again all the time seems like a silliness. Of course the
> standards people will say "but you must do it to be standards
> compliant".

The problem is if you don't do that you get problems with code that
generically handles URI and does not know about your special DVB URIs.

Reported here in case someone feels like fixing this:
https://bugzilla.gnome.org/show_bug.cgi?id=763910

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160319/020997a9/attachment.sig>


More information about the gstreamer-devel mailing list