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

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

Issue 1564983003: MSE: Log a warning if muxed AV media segment has no A or has no V block (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed previous CR comments Created 4 years, 11 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
Index: media/formats/mp2t/mp2t_stream_parser.h
diff --git a/media/formats/mp2t/mp2t_stream_parser.h b/media/formats/mp2t/mp2t_stream_parser.h
index 47c283d67ae28ea67f666cdb03f0524438a154ea..dd8beb74ffdd5b5882ef79a03e6bc4c9c05e1677 100644
--- a/media/formats/mp2t/mp2t_stream_parser.h
+++ b/media/formats/mp2t/mp2t_stream_parser.h
@@ -40,7 +40,7 @@ class MEDIA_EXPORT Mp2tStreamParser : public StreamParser {
bool ignore_text_tracks,
const EncryptedMediaInitDataCB& encrypted_media_init_data_cb,
const NewMediaSegmentCB& new_segment_cb,
- const base::Closure& end_of_segment_cb,
+ const EndMediaSegmentCB& end_of_segment_cb,
const scoped_refptr<MediaLog>& media_log) override;
void Flush() override;
bool Parse(const uint8_t* buf, int size) override;
@@ -102,7 +102,7 @@ class MEDIA_EXPORT Mp2tStreamParser : public StreamParser {
NewBuffersCB new_buffers_cb_;
EncryptedMediaInitDataCB encrypted_media_init_data_cb_;
NewMediaSegmentCB new_segment_cb_;
- base::Closure end_of_segment_cb_;
+ EndMediaSegmentCB end_of_segment_cb_;
scoped_refptr<MediaLog> media_log_;
// True when AAC SBR extension is signalled in the mimetype

Powered by Google App Engine
This is Rietveld 408576698