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

Unified Diff: webrtc/common_types.h

Issue 2500743002: Revert of H.264 packetization mode 0 (try 2) (Closed)
Patch Set: Created 4 years, 1 month 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 | « webrtc/api/android/jni/androidmediaencoder_jni.cc ('k') | webrtc/modules/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_types.h
diff --git a/webrtc/common_types.h b/webrtc/common_types.h
index e470b430fb59a78afdbd65a9b60e8a9e1b7abc89..24ba00a8450e4e9869c544f772c774105af0100c 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -540,18 +540,9 @@
};
// H264 specific.
-enum H264PacketizationMode {
- // Because VideoCodecH264 was initialized in multiple places using memset,
- // we let 0 have the meaning of "not set".
- kH264PacketizationModeNotSet = 0,
- kH264PacketizationMode0, // Only single NALU allowed
- kH264PacketizationMode1 // Non-interleaved - STAP-A, FU-A is allowed
-};
-
struct VideoCodecH264 {
bool frameDroppingOn;
int keyFrameInterval;
- H264PacketizationMode packetization_mode;
// These are NULL/0 if not externally negotiated.
const uint8_t* spsData;
size_t spsLen;
« no previous file with comments | « webrtc/api/android/jni/androidmediaencoder_jni.cc ('k') | webrtc/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698