diff options
author | Marton Balint <cus@passwd.hu> | 2019-08-24 00:27:41 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2019-08-31 17:38:25 +0200 |
commit | 765c56bfa9037060e36250090880b2961c88f27d (patch) | |
tree | 511edb67d8224df7416659fa1bc51c7a446ebb60 /libavcodec/mdct15.c | |
parent | a370582ba9c4e0db4e8518d4df199003d36bea16 (diff) | |
download | ffmpeg-765c56bfa9037060e36250090880b2961c88f27d.tar.gz |
avformat/mpegts: fix teletext PTS when selecting teletext streams only
After a1b4f120c031e6697bac9fd8c725d9c37ee36d13 the teletext PTS values were set
to AV_NOPTS_VALUE if the stream of the PCR pid was discarded.
What actually matters is that if we parse the PCR of the PCR PID or not, so
let's use the cached discard value of the actual PCR PID instead of the stream
discard value, which may be different.
Also fixes ticket #7567, which was caused by the fact that teletext PTS values
were not touched if the PCR pid was discarded even before
a1b4f120c031e6697bac9fd8c725d9c37ee36d13.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/mdct15.c')
0 files changed, 0 insertions, 0 deletions