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

Unified Diff: media/formats/mp2t/es_parser_h264.cc

Issue 149153002: MSE: Add StreamParser buffer remuxing utility and tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased and addressed comments from PS2 Created 6 years, 10 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/es_parser_h264.cc
diff --git a/media/formats/mp2t/es_parser_h264.cc b/media/formats/mp2t/es_parser_h264.cc
index 3a834a783d39427962d8cf6e1e49bc8168f0ba0a..ede021ec648218dd7ed7954b81db52a43b69220e 100644
--- a/media/formats/mp2t/es_parser_h264.cc
+++ b/media/formats/mp2t/es_parser_h264.cc
@@ -252,7 +252,8 @@ bool EsParserH264::EmitFrameIfNeeded(int next_aud_pos) {
StreamParserBuffer::CopyFrom(
&raw_es[current_access_unit_pos_],
access_unit_size,
- is_key_frame_);
+ is_key_frame_,
+ DemuxerStream::VIDEO);
stream_parser_buffer->SetDecodeTimestamp(current_timing_desc.dts);
stream_parser_buffer->set_timestamp(current_timing_desc.pts);
emit_buffer_cb_.Run(stream_parser_buffer);

Powered by Google App Engine
This is Rietveld 408576698