chiark / gitweb /
cdrom_id: Fix DVD-RW media detection
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 30 Aug 2010 13:33:26 +0000 (15:33 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 30 Aug 2010 13:33:26 +0000 (15:33 +0200)
commit2458db3edd8d66827b34978ff471dff8f879e9ab
tree50a32b03ab1e049e480b70676dba866660c2fc9a
parentd17c065e28fa4baac90b02b4913c7ef32d54f3c7
cdrom_id: Fix DVD-RW media detection

Commit cf2205a19 applied the "restricted overwrite" vs. "sequential" DVD-RW
test to feature_profiles() (which reads the drive capabilities), which caused
every DVD medium to be detected as ID_CDROM_MEDIA_DVD_RW. Now apply it to
cd_profiles() instead, to just check the current profile.
extras/cdrom_id/cdrom_id.c