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

Unified Diff: webrtc/modules/video_coding/packet.h

Issue 2614503002: Reland of Rename RTPVideoHeader.isFirstPacket to .is_first_packet_in_frame. (Closed)
Patch Set: Add base/deprecation.h include. Created 3 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
« no previous file with comments | « webrtc/modules/video_coding/nack_module_unittest.cc ('k') | webrtc/modules/video_coding/packet.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/packet.h
diff --git a/webrtc/modules/video_coding/packet.h b/webrtc/modules/video_coding/packet.h
index 16f568504e6f34577ae0046d4d634212883ad002..488c058a8ea13414fe8f6989a70ec397ad559dda 100644
--- a/webrtc/modules/video_coding/packet.h
+++ b/webrtc/modules/video_coding/packet.h
@@ -11,6 +11,7 @@
#ifndef WEBRTC_MODULES_VIDEO_CODING_PACKET_H_
#define WEBRTC_MODULES_VIDEO_CODING_PACKET_H_
+#include "webrtc/base/deprecation.h"
#include "webrtc/modules/include/module_common_types.h"
#include "webrtc/modules/video_coding/jitter_buffer_common.h"
#include "webrtc/typedefs.h"
@@ -39,7 +40,10 @@ class VCMPacket {
FrameType frameType;
VideoCodecType codec;
- bool isFirstPacket; // Is this first packet in a frame.
+ union {
+ RTC_DEPRECATED bool isFirstPacket; // Is this first packet in a frame.
+ bool is_first_packet_in_frame;
+ };
VCMNaluCompleteness completeNALU; // Default is kNaluIncomplete.
bool insertStartCode; // True if a start code should be inserted before this
// packet.
« no previous file with comments | « webrtc/modules/video_coding/nack_module_unittest.cc ('k') | webrtc/modules/video_coding/packet.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698