Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(543)

Unified Diff: media/formats/mp2t/es_parser_test_base.h

Issue 506943003: Support MPEG1 audio in the MPEG2-TS stream parser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments from patch set #5. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/formats/mp2t/es_parser_mpeg1audio_unittest.cc ('k') | media/formats/mp2t/es_parser_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp2t/es_parser_test_base.h
diff --git a/media/formats/mp2t/es_parser_test_base.h b/media/formats/mp2t/es_parser_test_base.h
index 4b18efac6f95a8cfb83b0a9b38e6c0d6379f82c1..433bbe134e5cbb95ecccafccf28644837c1ab828 100644
--- a/media/formats/mp2t/es_parser_test_base.h
+++ b/media/formats/mp2t/es_parser_test_base.h
@@ -60,6 +60,9 @@ class EsParserTestBase {
// Packets are assumed to be in stream order.
void ComputePacketSize(std::vector<Packet>* packets);
+ // Generate some fixed size PES packets of |stream_|.
+ std::vector<Packet> GenerateFixedSizePesPacket(size_t pes_size);
+
// ES stream.
std::vector<uint8> stream_;
« no previous file with comments | « media/formats/mp2t/es_parser_mpeg1audio_unittest.cc ('k') | media/formats/mp2t/es_parser_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698