All pastes #633332 Raw Edit

Jump To 1 problem

public text v1 · immutable
#633332 ·published 2007-07-25 16:45 UTC
rendered paste body

In NuppelVideoPlayer.cpp

        if (eof)
        {
            if (livetvchain)
            {
                const bool waiting = GetDecoder()->GetWaitForChange();
                QString msg = (waiting) ? "Decoder waiting for new file" :
                                          "Decoder ignoring livetv eof";
                if (!paused && !waiting && livetvchain->HasNext())
                {
                    VERBOSE(VB_IMPORTANT, "LiveTV forcing JumpTo 1");
                    livetvchain->JumpToNext(true, 1);
                    continue;
                }
                if (!paused)
                    VERBOSE(VB_PLAYBACK, msg);
                       //"Ignoring livetv eof in decoder loop. waiting("<<waiting<<") ");
                usleep(50000);
            }
            else
                break;
        }