Ticket #5749: t5749_proposed_fix.diff
File t5749_proposed_fix.diff, 1.3 KB (added by , 17 years ago) |
---|
-
libs/libmythtv/avformatdecoder.cpp
2346 2346 bool changed = (seqFPS > fps+0.01) || (seqFPS < fps-0.01); 2347 2347 changed |= (width != (uint)current_width ); 2348 2348 changed |= (height != (uint)current_height); 2349 changed |= (aspect != current_aspect); 2349 changed |= ((aspect > current_aspect+0.001) || 2350 (aspect < current_aspect-0.001)); 2350 2351 2351 2352 if (changed) 2352 2353 { … … 2423 2424 bool changed = (seqFPS > fps+0.01) || (seqFPS < fps-0.01); 2424 2425 changed |= (width != (uint)current_width ); 2425 2426 changed |= (height != (uint)current_height); 2426 changed |= (aspect_ratio != current_aspect); 2427 changed |= ((aspect_ratio > current_aspect+0.001) || 2428 (aspect_ratio < current_aspect-0.001)); 2427 2429 2428 2430 if (changed) 2429 2431 { … … 3088 3090 3089 3091 if (gotvideo) 3090 3092 { 3091 if ( lowbuffers &&onlyvideo == 0 &&3093 if (onlyvideo == 0 && 3092 3094 lastapts < lastvpts + 100 && 3093 3095 lastapts > lastvpts - 10000 && 3094 3096 !ringBuffer->InDVDMenuOrStillFrame())