tsdemux:The huge PTS causes abnormal playback
[Phenomenon]
- When we plaback the test file,the total duration is 0:00:02.1,but current time is always updated and more than total duration. Meanwhile,the Video frame is freeze.
[Analysis]
- The given test file 0000003281-0000003301.mpg has huge PTS that leading EOS event is blocked.0000003281-0000003301.mpg.But the total duration is Not so long(0:00:02.1?).
Fragment log:
- tsdemux.c:2646:gst_ts_demux_parse_pes_header:[00m stream PTS 17:03:07.911980999 DTS 17:03:07.861925444
- tsdemux.c:2646:gst_ts_demux_parse_pes_header:[00m stream PTS 99:99:99.999999999 DTS 99:99:99.999999999
[Expected Behavior]
- Detect huge PTS, throw ERROR messge from GBUS.
[Setup]
- Operating System: Ubuntu 22.04
- Device: Computer
- GStreamer Version: 1.20.3.1
- Command line: gst-play-1.0 ./0000003281-0000003301.mpg
[Steps to reproduce the bug]
- Download 0000003281-0000003301.mpg
- Run gst-play-1.0 ./0000003281-0000003301.mpg
[How reproducible is the bug]
- Always