cddabasesrc: ignore URI fragments that look like device paths
authorJonathan Matthew <jonathan@d14n.org>
Thu, 17 Sep 2009 13:42:52 +0000 (23:42 +1000)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 17 Sep 2009 15:00:10 +0000 (17:00 +0200)
commit6781c4c9c599561a3ca2f964ef9a60b653ee710d
tree88541d723bd8d111fcf61767effabf2704467885
parent257dbccad49e4586fc633e52b68049ce6af40de8
cddabasesrc: ignore URI fragments that look like device paths

Rhythmbox uses cdda:// URIs of the form cdda://track#device, which
worked before the fix for bug #321532.

Also adds a check for negative track numbers and some unit tests for URI
parsing.

Fixes bug #595454.
gst-libs/gst/cdda/gstcddabasesrc.c
tests/check/libs/cddabasesrc.c