GNOME Bugzilla – Bug 694814
Improve mimeparsing
Last modified: 2013-04-13 12:07:02 UTC
Im opening this bug report after a conversation on the mailinglist. If a http stream identifies itself with for example "audio/L16; rate=44100; channels=2" rygel wont identify it as a stream it support. Afaik the whitespaces screw up the comparison. If you do start to implement better parsing remember to handle UPPER and lower case aswell.
Created attachment 239034 [details] [review] renderer: Improve mime-type comparing
could i bother you about a generated c-file for this aswell =)
Created attachment 240193 [details] C file The patch does a little bit more, but this is the important change.
So i have tried this patch and it works great! thanks again
Attachment 239034 [details] pushed as 64f65d1 - renderer: Improve mime-type comparing