[mythtv-commits] mythtv commit: r8259 - in
trunk/mythtv/libs/libmythtv by danielk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Wed Dec 14 12:14:24 EST 2005
Author: danielk
Date: 2005-12-14 17:14:21 +0000 (Wed, 14 Dec 2005)
New Revision: 8259
Changeset: http://cvs.mythtv.org/trac/changeset/8259
Modified:
trunk/mythtv/libs/libmythtv/avformatdecoder.cpp
trunk/mythtv/libs/libmythtv/avformatdecoder.h
trunk/mythtv/libs/libmythtv/mpeg/pespacket.cpp
trunk/mythtv/libs/libmythtv/mpeg/pespacket.h
Log:
Fixes some problems seen when looking at #799.
We were parsing the sequence header incorrectly when looking
at the height. Also we might as well use the reported fps
if we get a sequence header. And finally we should really
check if we have enough buffered data before we go reading
data past bufptr.
There are also some sanity checks, like if ffmpeg disagrees
with the sequence header on the framerate a warning is printed
out when using '-v playback'. I also made the HandleGopStart
code a little more self-documenting.
I've removed the sanity check (width < 2500 && height < 2000),
since this was probably only needed due to the broken sequence
header parsing.
More information about the mythtv-commits
mailing list