summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorReinhard Nißl <rnissl@gmx.de>2007-04-11 22:47:14 +0200
committerReinhard Nißl <rnissl@gmx.de>2007-04-11 22:47:14 +0200
commit70340520422bd57265c125c9114bf0804a0fcfb6 (patch)
tree5efba528e073e406fc9c88c31e4f14e8bbaa129f /m4
parentc552e457732c3c7b84b66ed8548713be52561487 (diff)
downloadxine-lib-70340520422bd57265c125c9114bf0804a0fcfb6.tar.gz
xine-lib-70340520422bd57265c125c9114bf0804a0fcfb6.tar.bz2
Improve MPEG2 detection to have it ready for correct aspect ratio
determination. The current code detects MPEG2 when parsing the sequence extention which appears only in MPEG2 streams. But this is to late for correct aspect ratio determination which happens earlier and therefore assumes MPEG1. The result is a totally wrong aspect ratio. To fix this issue, the next start code (which is already available at that time) is passed to parse_chunk() too, which can then be used to detect a MPEG2 extension start code early enough before the aspect ratio is determined.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions