Ticket #2952: debug_ticket_2952.diff

File debug_ticket_2952.diff, 1.2 KB (added by skamithi, 17 years ago)

debug patch to help find out the problem.

  • DVDRingBuffer.cpp

     
    8787
    8888long long DVDRingBufferPriv::NormalSeek(long long time)
    8989{
     90    VERBOSE(VB_PLAYBACK, LOC + QString("DELETE ME Normal Seek time offset %1")
     91            .arg(time));
    9092    QMutexLocker lock(&seekLock);
    9193    return Seek(time);
    9294}
    9395
    9496long long DVDRingBufferPriv::Seek(long long time)
    9597{
     98    VERBOSE(VB_PLAYBACK, LOC + QString("DELETE ME Seek() time offset %1")
     99            .arg(time));
    96100    seekTime = (uint64_t)time;
    97101    uint searchToCellStart = 1;
    98102    int ffrewSkip = 1;
     
    113117        if (time > 0 && ffrewSkip == 1)
    114118            seeking = true;
    115119    }
    116    
     120   
     121    VERBOSE(VB_PLAYBACK, LOC + QString("DELETE ME time %1 ffrewSkip %2 gotoCellStart %3 IsInMenu %4").arg(time).arg(ffrewSkip).arg(gotoCellStart).arg(IsInMenu()));
    117122    return currentpos;
    118123}
    119124           
     
    11451150
    11461151void DVDRingBufferPriv::SeekCellStart(void)
    11471152{
     1153    VERBOSE(VB_PLAYBACK, LOC + "DELETE ME SeekCellStart() activated");
    11481154    QMutexLocker lock(&seekLock);
    11491155    gotoCellStart = true;
    11501156    Seek(cellStart);