~ubuntu-branches/ubuntu/maverick/brasero/maverick-proposed

« back to all changes in this revision

Viewing changes to plugins/audio2cue/burn-audio2cue.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-01-27 12:21:36 UTC
  • mfrom: (1.1.37 upstream)
  • Revision ID: james.westby@ubuntu.com-20100127122136-s7lipeh9b3lsn05u
Tags: 2.29.6-0ubuntu1
* New upstream release:
  - Fix #604084 - Speed up nautilus extension startup (Martin Pitt)
  - Fix #605433 - [PATCH] Fix some leaks in the CAM code (Joe Marcus Clarke)
  - [help] Fixed a typo in the help (Milo Casagrande)
  - Update Copyrights to 2010 (Luis Medinas)
  - Set the max value for the song properties end point button correctly
    (Jonathan Matthew)
  - Fix #607745 - Fix crash when shutting down with outstanding IO jobs
    (Jonathan Matthew)
  - Set start and end points correctly when reading a project file (Jonathan
    Matthew)
  - Fix Bug 607767 - integer overflow in brasero_audio2cue_len_to_string (Luis
    Medinas)
  - Fix #607752 - audio track start and end points are overwritten after being
    read from a project file (Philippe Rouquier) 
  - Fixes Bug 603969 - CD/DVD creator dialog is REALLY unclear for burning
    an ISO (Luis Medinas) (LP: #493101)
  - Use totem_pl_parser_save() for playlist saving (bgo#605314).
    (Carlos Garnacho)
  - Updated Translations
* debian/control.in:
  - bump libtotem-plparser-dev requirement
* remove debian/patches/001_nautilus_lazy_init.patch: upstreamed

Show diffs side-by-side

added added

removed removed

Lines of Context:
310
310
{
311
311
        int sec;
312
312
        int min;
313
 
        int frame;
 
313
        guint64 frame;
314
314
 
315
 
        if (len >= 1000000000)
316
 
                frame = (len % 1000000000) * 75;
 
315
        if (len >= 1000000000LL)
 
316
                frame = (len % 1000000000LL) * 75;
317
317
        else
318
318
                frame = len * 75;
319
319
 
320
 
        frame = frame / 1000000000 + ((frame % 1000000000) ? 1:0);
 
320
        frame = frame / 1000000000 + ((frame % 1000000000LL) ? 1:0);
321
321
 
322
 
        len /= 1000000000;
 
322
        len /= 1000000000LL;
323
323
        min = len / 60;
324
324
        sec = len % 60;
325
325
 
326
 
        return g_strdup_printf ("%02i:%02i:%02i", min, sec, frame);
 
326
        return g_strdup_printf ("%02i:%02i:%02" G_GINT64_FORMAT, min, sec, frame);
327
327
}
328
328
 
329
329
static gpointer