From 7fd67c5f56bd878951302d4bec07aefe01664e5b Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 10 Nov 2013 16:35:17 +0000 Subject: [PATCH] New API call burn_disc_pretend_full_uncond() --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/drive.c | 7 +++++++ libburn/trunk/libburn/libburn.h | 8 ++++++++ libburn/trunk/libburn/libburn.ver | 1 + 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 4147e24e..c622552e 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2013.11.08.095213" +#define Cdrskin_timestamP "2013.11.10.163403" diff --git a/libburn/trunk/libburn/drive.c b/libburn/trunk/libburn/drive.c index e69270a2..89da9f67 100644 --- a/libburn/trunk/libburn/drive.c +++ b/libburn/trunk/libburn/drive.c @@ -2494,6 +2494,13 @@ int burn_disc_pretend_full(struct burn_drive *d) return 1; } +/* ts B31110 API function */ +int burn_disc_pretend_full_uncond(struct burn_drive *d) +{ + d->status = BURN_DISC_FULL; + return 1; +} + /* ts A61021: new API function */ int burn_disc_read_atip(struct burn_drive *d) { diff --git a/libburn/trunk/libburn/libburn.h b/libburn/trunk/libburn/libburn.h index 6128e6c2..adf6e47a 100644 --- a/libburn/trunk/libburn/libburn.h +++ b/libburn/trunk/libburn/libburn.h @@ -1237,6 +1237,14 @@ int burn_disc_pretend_blank(struct burn_drive *drive); int burn_disc_pretend_full(struct burn_drive *drive); +/* ts B31110 */ +/** WARNING: This overrides the safety measures against unsuitable media. + Sets the drive status to BURN_DISC_FULL unconditionally. + @since 1.3.4 +*/ +int burn_disc_pretend_full_uncond(struct burn_drive *drive); + + /* ts A61021 */ /** Reads ATIP information from inserted media. To be obtained via burn_drive_get_write_speed(), burn_drive_get_min_write_speed(), diff --git a/libburn/trunk/libburn/libburn.ver b/libburn/trunk/libburn/libburn.ver index 465ae596..3bdcf391 100644 --- a/libburn/trunk/libburn/libburn.ver +++ b/libburn/trunk/libburn/libburn.ver @@ -32,6 +32,7 @@ burn_disc_get_status; burn_disc_next_track_is_damaged; burn_disc_pretend_blank; burn_disc_pretend_full; +burn_disc_pretend_full_uncond; burn_disc_read; burn_disc_read_atip; burn_disc_remove_session;