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. |