diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 9d7b788..ad989b1 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2017.01.28.200802" +#define Cdrskin_timestamP "2017.02.06.135800" diff --git a/libburn/drive.c b/libburn/drive.c index 0fc566c..d561ea7 100644 --- a/libburn/drive.c +++ b/libburn/drive.c @@ -1,7 +1,7 @@ /* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */ /* Copyright (c) 2004 - 2006 Derek Foreman, Ben Jansens - Copyright (c) 2006 - 2016 Thomas Schmitt + Copyright (c) 2006 - 2017 Thomas Schmitt Provided under GPL version 2 or later. */ @@ -3614,6 +3614,18 @@ ex: } +int burn_drive_get_bd_r_pow(struct burn_drive *d) +{ + struct burn_feature_descr *feature; + + if (d->current_profile == 0x41) + if (burn_drive_has_feature(d, 0x38, &feature, 0) == 1) + if (feature->flags & 1) + return 1; + return 0; +} + + int burn_drive_set_immed(struct burn_drive *drive, int enable) { drive->do_no_immed = !enable; diff --git a/libburn/libburn.h b/libburn/libburn.h index 617b0d1..aab9942 100644 --- a/libburn/libburn.h +++ b/libburn/libburn.h @@ -1,7 +1,7 @@ /* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */ /* Copyright (c) 2004 - 2006 Derek Foreman, Ben Jansens - Copyright (c) 2006 - 2016 Thomas Schmitt + Copyright (c) 2006 - 2017 Thomas Schmitt Provided under GPL version 2 or later. This is the official API definition of libburn. @@ -1313,6 +1313,17 @@ int burn_drive_get_media_sno(struct burn_drive *d, char **sno, int *sno_len); int burn_disc_read_atip(struct burn_drive *drive); +/* ts B70206 */ +/** Tells whether a BD-R medium with Pseudo Overwrite (POW) formatting is in + the drive. Such a formatting may have been applied by dvd+rw-tools. It + prevents sequential multi-session. + @param drive The drive to query. + @return 1 if BD-R Pseudo Overwrite , 0 if not BD-R or not POW + @since 1.4.8 +*/ +int burn_drive_get_bd_r_pow(struct burn_drive *drive); + + /* ts A61020 */ /** Returns start and end lba of the media which is currently inserted in the given drive. The drive has to be grabbed to have hope for reply. diff --git a/libburn/libburn.ver b/libburn/libburn.ver index 73c08bf..8d94627 100644 --- a/libburn/libburn.ver +++ b/libburn/libburn.ver @@ -50,6 +50,7 @@ burn_drive_extract_audio_track; burn_drive_free_speedlist; burn_drive_get_adr; burn_drive_get_all_profiles; +burn_drive_get_bd_r_pow; burn_drive_get_best_speed; burn_drive_get_disc; burn_drive_get_drive_role;