diff options
author | Reinhard Nißl <rnissl@gmx.de> | 2007-04-11 22:47:14 +0200 |
---|---|---|
committer | Reinhard Nißl <rnissl@gmx.de> | 2007-04-11 22:47:14 +0200 |
commit | 70340520422bd57265c125c9114bf0804a0fcfb6 (patch) | |
tree | 5efba528e073e406fc9c88c31e4f14e8bbaa129f /m4 | |
parent | c552e457732c3c7b84b66ed8548713be52561487 (diff) | |
download | xine-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