From 7e4836ddd688846e881daad989a507da6ad9e0d9 Mon Sep 17 00:00:00 2001 From: "damienv@chromium.org" Date: Wed, 12 Mar 2014 23:35:03 +0000 Subject: Do not enforce one PTS/DTS pair for each video PES packet. Having a PTS/DTS per video PES packet is just an HLS recommendation. Some streams do not comply with this recommendation. The most important is to have some timings for each access unit and this criteria is still enforced in this H264 parser. These 2 criteria are different when an access unit spans over several PES packets (let's say N PES packets). In this case, the timings in PES packets from idx 2 to idx N-1 are irrelevant. BUG=None Review URL: https://codereview.chromium.org/193063003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256697 0039d316-1c4b-4281-b951-d872f2087c98 --- media/media.gyp | 1 + 1 file changed, 1 insertion(+) (limited to 'media/media.gyp') diff --git a/media/media.gyp b/media/media.gyp index fb36e08..78ece80 100644 --- a/media/media.gyp +++ b/media/media.gyp @@ -1144,6 +1144,7 @@ 'sources': [ 'formats/common/stream_parser_test_base.cc', 'formats/common/stream_parser_test_base.h', + 'formats/mp2t/es_parser_h264_unittest.cc', 'formats/mp2t/mp2t_stream_parser_unittest.cc', 'formats/mp4/aac_unittest.cc', 'formats/mp4/avc_unittest.cc', -- cgit v1.1