Ticket #7113: ticket_7113_potential_fix.diff
File ticket_7113_potential_fix.diff, 1.1 KB (added by , 15 years ago) |
---|
-
libs/libmythtv/avformatdecoder.cpp
3370 3370 return false; 3371 3371 } 3372 3372 3373 /* This note is just for the testing patch. 3374 Check that the new packet produced 3375 is from the video codec stream...not from the audio stream */ 3373 3376 if (ringBuffer->isDVD() && 3374 3377 ringBuffer->DVD()->InStillFrame()) 3375 3378 { 3376 mpeg_seq_end_seen = false; 3377 decodeStillFrame = false; 3378 ringBuffer->DVD()->InStillFrame(false); 3379 } 3379 AVStream *curstream = ic->streams[pkt->stream_index]; 3380 if (curstream->codec->codec_type == CODEC_TYPE_VIDEO) 3381 { 3382 mpeg_seq_end_seen = false; 3383 decodeStillFrame = false; 3384 ringBuffer->DVD()->InStillFrame(false); 3385 } 3386 } 3380 3387 3381 3388 if (waitingForChange && pkt->pos >= readAdjust) 3382 3389 FileChanged();