~mfisch/brasero/update-to-3.8.0

« back to all changes in this revision

Viewing changes to libbrasero-burn/brasero-caps-session.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-07-14 14:13:00 UTC
  • mfrom: (1.1.25 upstream)
  • Revision ID: james.westby@ubuntu.com-20090714141300-e08q13sp48b2xzwd
Tags: 2.27.4-0ubuntu1
* New upstream release: (LP: #399112)
  - Hal support removed, now relies on GIO only for drives/media probing
  - New layout for size reporting in data/audio/video project
  - Lot's of bug fixes
  - Fixed some memleaks
  - Bump libbrasero-media version to reflect changes (important to packagers)
  - Fix #582261 – brasero shows 0% done, while continues burning disc
  - Fix #582513 – Bogus VIDEO_TS directory error if AUDIO_TS directory present
  - Fix #573805 – "Increase compatibility with Windows systems"?
  - Fix #585190 – remove 0 from 03 % status
  - Fix #586744 – Use AS_HELP_STRING for configure switches
  - Fix #584793 – Poor language in warning dialog when attempting to burn an audio CD onto a CDRW
  - Fix #580617 – Brasero floods .xsession-errors log with "Unknown (or already deleted) monitored directory" warnings
  - Fix #563501 – Brasero burning window shouldn't try to show drive speed while is converting audio files
  - Fix #485719 – Burn dialog CD icon
  - Fix #585481 – Deep hierarchy warning
  - Fix #554070 – The need of a "replace all" and "replace non" button
  - Fix #582461 – Brasero hangs at normalizing tracks
  - Fix #587284 – nautilus hangs every time
  - Fix #574093 – Caret visible in instructions for project creation
  - Fix #581742 – port from HAL to DeviceKit-disks
  - Fix #573801 – Bad error message when burning empty burn:///
  - Fix #573486 – Various i18n and string issues for good
  - Fix #587399 – License clarification
  - Fix #587554 – Unclear meaning of text
  - Fix #582979 – brasero should not include Categories in mime handler .desktop files
  - Fix #586040 – duplicated command listed in open-with dialog
  - Fixes for #573486 – Various i18n and string issues
* debian/control.in:
  - Add in missing comma in brasero suggests

Show diffs side-by-side

added added

removed removed

Lines of Context:
945
945
        return required_media;
946
946
}
947
947
 
 
948
guint
 
949
brasero_burn_session_get_possible_output_formats (BraseroBurnSession *session,
 
950
                                                  BraseroImageFormat *formats)
 
951
{
 
952
        guint num = 0;
 
953
        BraseroImageFormat format;
 
954
        BraseroTrackType *output = NULL;
 
955
 
 
956
        g_return_val_if_fail (BRASERO_IS_BURN_SESSION (session), 0);
 
957
 
 
958
        /* see how many output format are available */
 
959
        format = BRASERO_IMAGE_FORMAT_CDRDAO;
 
960
        (*formats) = BRASERO_IMAGE_FORMAT_NONE;
 
961
 
 
962
        output = brasero_track_type_new ();
 
963
        brasero_track_type_set_has_image (output);
 
964
 
 
965
        for (; format > BRASERO_IMAGE_FORMAT_NONE; format >>= 1) {
 
966
                BraseroBurnResult result;
 
967
 
 
968
                brasero_track_type_set_image_format (output, format);
 
969
                result = brasero_burn_session_output_supported (session, output);
 
970
                if (result == BRASERO_BURN_OK) {
 
971
                        (*formats) |= format;
 
972
                        num ++;
 
973
                }
 
974
        }
 
975
 
 
976
        brasero_track_type_free (output);
 
977
 
 
978
        return num;
 
979
}
 
980
 
948
981
BraseroImageFormat
949
982
brasero_burn_session_get_default_output_format (BraseroBurnSession *session)
950
983
{