~mfisch/brasero/update-to-3.8.0

« back to all changes in this revision

Viewing changes to src/plugins/cdrtools/burn-cdrecord.c

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-11-18 11:30:50 UTC
  • mto: (1.4.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: james.westby@ubuntu.com-20081118113050-yhrskmatlel0gzfm
Tags: upstream-0.8.3
ImportĀ upstreamĀ versionĀ 0.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
386
386
        gchar buffer [128];
387
387
        BraseroSongInfo *info;
388
388
        BraseroCDRecordPrivate *priv;
 
389
        int errsv;
389
390
 
390
391
        priv = BRASERO_CD_RECORD_PRIVATE (cdrecord);
391
392
 
582
583
 
583
584
 
584
585
error:
 
586
        errsv = errno;
 
587
 
585
588
        g_remove (path);
586
589
        g_free (path);
587
590
 
589
592
                     BRASERO_BURN_ERROR,
590
593
                     BRASERO_BURN_ERROR_GENERAL,
591
594
                     _("the inf file can't be written : %s"), 
592
 
                     strerror (errno));
 
595
                     g_strerror (errsv));
593
596
 
594
597
        return BRASERO_BURN_ERR;
595
598
}
1199
1202
        /* blanking/formatting caps and flags for +/sequential RW
1200
1203
         * NOTE: restricted overwrite DVD-RW can't be formatted.
1201
1204
         * moreover DVD+RW are formatted while DVD-RW sequential are blanked.
1202
 
         * NOTE: blanking DVD-RW doesn't work */
 
1205
         */
1203
1206
        output = brasero_caps_disc_new (BRASERO_MEDIUM_DVD|
1204
1207
                                        BRASERO_MEDIUM_PLUS|
1205
1208
                                        BRASERO_MEDIUM_REWRITABLE|
1206
1209
                                        BRASERO_MEDIUM_APPENDABLE|
 
1210
                                        BRASERO_MEDIUM_SEQUENTIAL|
1207
1211
                                        BRASERO_MEDIUM_CLOSED|
1208
1212
                                        BRASERO_MEDIUM_HAS_DATA|
1209
1213
                                        BRASERO_MEDIUM_UNFORMATTED|
1211
1215
        brasero_plugin_blank_caps (plugin, output);
1212
1216
        g_slist_free (output);
1213
1217
 
 
1218
        brasero_plugin_set_blank_flags (plugin,
 
1219
                                        BRASERO_MEDIUM_DVDRW |
 
1220
                                        BRASERO_MEDIUM_BLANK|
 
1221
                                        BRASERO_MEDIUM_CLOSED |
 
1222
                                        BRASERO_MEDIUM_APPENDABLE|
 
1223
                                        BRASERO_MEDIUM_HAS_DATA|
 
1224
                                        BRASERO_MEDIUM_UNFORMATTED,
 
1225
                                        BRASERO_BURN_FLAG_NOGRACE|
 
1226
                                        BRASERO_BURN_FLAG_FAST_BLANK,
 
1227
                                        BRASERO_BURN_FLAG_NONE);
1214
1228
        /* again DVD+RW don't support dummy */
1215
1229
        brasero_plugin_set_blank_flags (plugin,
1216
1230
                                        BRASERO_MEDIUM_DVDRW_PLUS|