[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [k3b/multisession] libk3b/projects/datacd: Complete mediaType as Thomas suggested.
From: Leslie Zhai <xiangzhai83 () gmail ! com>
Date: 2016-10-17 4:36:50
Message-ID: E1bvzfO-00069y-NI () code ! kde ! org
[Download RAW message or body]
Git commit 15d3b05ce24a9158e120d4eaf0caadb0407fc0e7 by Leslie Zhai.
Committed on 17/10/2016 at 04:31.
Pushed by lesliezhai into branch 'multisession'.
Complete mediaType as Thomas suggested.
After KDE 20 years party (Oct 15), I have time to fix KDEBUG now ;-)
Towards writable space on medium is determined, when there is *NO* space
writable available, K3B will throw ERROR to user, so does not need to
compute the remaing writable space?
BUG: 367639
M +6 -2 libk3b/projects/datacd/k3bdatamultisessionparameterjob.cpp
http://commits.kde.org/k3b/15d3b05ce24a9158e120d4eaf0caadb0407fc0e7
diff --git a/libk3b/projects/datacd/k3bdatamultisessionparameterjob.cpp \
b/libk3b/projects/datacd/k3bdatamultisessionparameterjob.cpp index \
daf229d..bdbace8 100644
--- a/libk3b/projects/datacd/k3bdatamultisessionparameterjob.cpp
+++ b/libk3b/projects/datacd/k3bdatamultisessionparameterjob.cpp
@@ -147,7 +147,9 @@ K3b::DataDoc::MultiSessionMode \
K3b::DataMultiSessionParameterJob::determineMulti if( info.mediaType() & \
(K3b::Device::MEDIA_DVD_PLUS_RW| K3b::Device::MEDIA_DVD_PLUS_RW_DL|
K3b::Device::MEDIA_DVD_RW_OVWR|
- K3b::Device::MEDIA_BD_RE) ) {
+ K3b::Device::MEDIA_BD_RE|
+ K3b::Device::MEDIA_DVD_RAM|
+ K3b::Device::MEDIA_BD_R_RRM) ) {
//
// we need to handle DVD+RW and DVD-RW overwrite media differently \
since remainingSize() is not valid // in both cases
@@ -238,7 +240,9 @@ bool \
K3b::DataMultiSessionParameterJob::setupMultiSessionParameters() if( \
info.mediaType() & (K3b::Device::MEDIA_DVD_PLUS_RW| \
K3b::Device::MEDIA_DVD_PLUS_RW_DL| K3b::Device::MEDIA_DVD_RW_OVWR|
- K3b::Device::MEDIA_BD_RE) ) {
+ K3b::Device::MEDIA_BD_RE|
+ K3b::Device::MEDIA_DVD_RAM|
+ K3b::Device::MEDIA_BD_R_RRM) ) {
lastSessionStart = 0;
// get info from iso filesystem
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic