Ticket #1088: ivtv_gopbyframe.diff

File ivtv_gopbyframe.diff, 705 bytes (added by maverik044, 14 years ago)
  • libs/libmythtv/ivtvdecoder.cpp

    old new int IvtvDecoder::OpenFile(RingBuffer *rb 
    296296        float bytespersec = (float)bitrate / 8 / 2;
    297297        float secs = ringBuffer->GetRealFileSize() * 1.0 / bytespersec;
    298298
     299        positionMapType = MARK_GOP_BYFRAME;
     300        keyframedist = 1;
     301
    299302        GetNVP()->SetFileLength((int)(secs), (int)(secs * fps));
    300303    }
    301304
    302305    if (hasFullPositionMap)
    303306    {
    304         VERBOSE(VB_PLAYBACK, "Position map found");
     307        VERBOSE(VB_PLAYBACK, "Position map found");       
    305308    }
    306309    else if (recordingHasPositionMap)
    307310    {