[Goodies-commits] r4610 - xfburn/trunk/xfburn
Mario Danic
mario at xfce.org
Thu Apr 17 23:36:37 CEST 2008
Author: mario
Date: 2008-04-17 21:36:37 +0000 (Thu, 17 Apr 2008)
New Revision: 4610
Modified:
xfburn/trunk/xfburn/xfburn-device-list.c
Log:
Will this debug p0llux?
Modified: xfburn/trunk/xfburn/xfburn-device-list.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-device-list.c 2008-04-17 21:15:35 UTC (rev 4609)
+++ xfburn/trunk/xfburn/xfburn-device-list.c 2008-04-17 21:36:37 UTC (rev 4610)
@@ -110,10 +110,10 @@
/* fill new list */
ret = burn_drive_get_speedlist (drive_info->drive, &speed_list);
+ DBG ("Debug p0llux: %d", ret);
if (ret > 0) {
struct burn_speed_descriptor *el = speed_list;
-
/* retrieve media type, so we can convert from 'kb/s' into 'x' rating */
if (burn_disc_get_profile(drive_info->drive, &media_no, media_name) == 1) {
/* this will fail if newer disk types get supported */
@@ -123,6 +123,7 @@
/* assume DVD for now */
factor = DVD_1X_SPEED;
} else {
+
g_warning ("no profile could be retrieved to calculate speed");
factor = 1;
}
More information about the Goodies-commits
mailing list