From d59591fb02c29b41e5b8d611160971a4493394c2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 3 Jun 2008 02:43:17 +0000 Subject: In mpeg1/2 timestamps are associated with the access unit which contains the first picture startcode that commences in the PES packet, instead of the first access unit that commences in the PES packet. Fix the parser to handle that properly. This was a very long standing bug ... The change to the seek regressions is because the mpeg ts muxer stores too many invalid and randomized timestamps which overflow the 4 entry buffer we use in the parser. Originally committed as revision 13643 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/seek.regression.ref | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/seek.regression.ref') diff --git a/tests/seek.regression.ref b/tests/seek.regression.ref index 63bd454dc7..9d8ca2e36d 100644 --- a/tests/seek.regression.ref +++ b/tests/seek.regression.ref @@ -3481,7 +3481,7 @@ ret:-1 st:-1 ts:0.460008 flags:0 ret:-1 st:-1 ts:-0.645825 flags:1 ---------------- tests/data/b-libav.ts -ret: 0 st: 0 dts:-0.040000 pts:0.000000 pos:-1 size:24921 flags:1 +ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:24921 flags:1 ret: 0 st:-1 ts:-1.000000 flags:0 ret: 0 st: 0 dts:0.000000 pts:-102481911520608.625000 pos:-1 size:22036 flags:1 ret: 0 st:-1 ts:1.894167 flags:1 -- cgit v1.2.3