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

Unified Diff: media/filters/h264_parser.h

Issue 246853005: Fix SPS/PPS insertion logic in MP4StreamParser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments Created 6 years, 8 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 | « no previous file | media/formats/mp4/avc.h » ('j') | media/formats/mp4/avc.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/h264_parser.h
diff --git a/media/filters/h264_parser.h b/media/filters/h264_parser.h
index 5dc8f51cfd03ff786f9a549711b106030db1e170..3a60dcea650555e3e8ec38dcc73ecfad6362ed41 100644
--- a/media/filters/h264_parser.h
+++ b/media/filters/h264_parser.h
@@ -25,6 +25,9 @@ struct MEDIA_EXPORT H264NALU {
enum Type {
kUnspecified = 0,
kNonIDRSlice = 1,
+ kSliceDataA = 2,
+ kSliceDataB = 3,
+ kSliceDataC = 4,
kIDRSlice = 5,
kSEIMessage = 6,
kSPS = 7,
@@ -32,6 +35,14 @@ struct MEDIA_EXPORT H264NALU {
kAUD = 9,
kEOSeq = 10,
kEOStream = 11,
+ kFiller = 12,
+ kSPSExt = 13,
+ kReserved14 = 14,
+ kReserved15 = 15,
+ kReserved16 = 16,
+ kReserved17 = 17,
+ kReserved18 = 18,
+ kCodedSliceAux = 19,
kCodedSliceExtension = 20,
};
« no previous file with comments | « no previous file | media/formats/mp4/avc.h » ('j') | media/formats/mp4/avc.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698