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

Thomas Schmitt via KDE Bugzilla bugzilla_noreply at kde.org
Sat Sep 24 14:11:39 UTC 2016


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

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

libk3bdevice/k3bdevice.cpp , K3b::Device::Device::getNextWritableAdress()

has 

                // Read start address of the incomplete track
                if( readTrackInformation( trackData, 0x1, nextTrack ) ) {
                    nextWritableAdress = from4Byte( &trackData[8] );

which matches the else-case of growisofs_mmc.cpp

    cmd[0] = 0x52;              // READ TRACK INFORMATION
    ...
    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];
    }

There is no counterpart for the bdr_plus_pow case.

In K3B the equivalent would have to look like

                // Read start address of the incomplete track
                if( readTrackInformation( trackData, 0x1, nextTrack ) ) {
                    if (m == MEDIA_BD_R_SRM_POW && (trackData[7] & 1))
                        nextWritableAdress = from4Byte( &trackData[12] );
                    else
                        nextWritableAdress = from4Byte( &trackData[8] );


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