summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorReinhard Nißl <rnissl@gmx.de>2010-01-20 23:42:48 +0100
committerReinhard Nißl <rnissl@gmx.de>2010-01-20 23:42:48 +0100
commit64a1c261e9dbbe32372cd2d8970186e4b62a5d80 (patch)
tree0ca35bf4a5e814ee1583a5645e664632eeb781ad /po
parent2fb4e0a646eb374031106e099cfce9ffd73f1b19 (diff)
downloadxine-lib-64a1c261e9dbbe32372cd2d8970186e4b62a5d80.tar.gz
xine-lib-64a1c261e9dbbe32372cd2d8970186e4b62a5d80.tar.bz2
demux_ts: pass each pts just once to buf (and to decoder)
The content of large PES packets must be split into several input buffers. The current code attaches the PTS of the PES packet to all input buffers. A decoder must attach PTS to the image for example which starts next in the data. If the same PTS appears on several input buffers, a decoder might buffer the PTS and attach it to the next image for which the broadcaster didn't supply a PTS. Finally xine's metronom gets confused about those incorrect PTS and tries to correct that issue which usually makes things even more worse. By passing on PTS just once to the decoder it is less likely that the decoder behaves incorrect. I must admit that this is the second approach to fix this issue. The first approach slipped through into a totally different changeset and instead of passing the PTS just on the first buf, it passed it on the last buf of a PES packet which was totally wrong. This incorrect approach has been reverted recently.
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions