[k3b] [Bug 367639] k3b fails to continue multisession (blue ray)

Thomas Schmitt via KDE Bugzilla bugzilla_noreply at kde.org
Sat Sep 24 13:36:50 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=367639

--- Comment #43 from Thomas Schmitt <scdbackup at gmx.net> ---
Hi,

Surprise: growisofs does not inspect the ISO with BD-R profile 0x41 !

So adding MEDIA_BD_R_SRM_POW will not be correct.

Do Not Commit, Please.

I rather see in growisofs_mmc.cpp a special handling for pseudo-overwritable
BD-R which i did not remember to have seen in the SCSI MMC related code
of K3B:

    cmd[0] = 0x52;              // READ TRACK INFORMATION
    cmd[1] = 1;
    cmd[4] = next_track>>8;
    cmd[5] = next_track;        // ask for last track
    cmd[8] = sizeof(buf);
    cmd[9] = 0;
    err = cmd.transport (READ,buf,sizeof(buf));
    ...
    if (mmc_profile==0x41 && bdr_plus_pow && buf[7]&1)          // NWA_V
    {   next_session  = buf[12]<<24;
        next_session |= buf[13]<<16;
        next_session |= buf[14]<<8;
        next_session |= buf[15];
    }
    else
    {   next_session  = buf[8]<<24;     // Track Start Address
        next_session |= buf[9]<<16;
        next_session |= buf[10]<<8;
        next_session |= buf[11];
    }

The first case is for what K3B recognizes as MEDIA_BD_R_SRM_POW.

I will now revisit the code of K3B which asks the drive for the
Next Writable Address.


Have a nice day :)

Thomas

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the k3b mailing list