Ticket #1088: ivtv_gopbyframe.diff
File ivtv_gopbyframe.diff, 705 bytes (added by , 17 years ago) |
---|
-
libs/libmythtv/ivtvdecoder.cpp
old new int IvtvDecoder::OpenFile(RingBuffer *rb 296 296 float bytespersec = (float)bitrate / 8 / 2; 297 297 float secs = ringBuffer->GetRealFileSize() * 1.0 / bytespersec; 298 298 299 positionMapType = MARK_GOP_BYFRAME; 300 keyframedist = 1; 301 299 302 GetNVP()->SetFileLength((int)(secs), (int)(secs * fps)); 300 303 } 301 304 302 305 if (hasFullPositionMap) 303 306 { 304 VERBOSE(VB_PLAYBACK, "Position map found"); 307 VERBOSE(VB_PLAYBACK, "Position map found"); 305 308 } 306 309 else if (recordingHasPositionMap) 307 310 {