Prepare for splitting FrameType into AudioFrameType and VideoFrameType
This cl deprecates the FrameType enum, and adds aliases AudioFrameType
and VideoFrameType.
After downstream usage is updated, the enums will be separated
and be moved out of common_types.h.
Bug: webrtc:6883
Change-Id: I2aaf660169da45f22574b4cbb16aea8522cc07a6
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/123184
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27011}
diff --git a/modules/video_coding/packet.h b/modules/video_coding/packet.h
index 944aed5..835bfdf 100644
--- a/modules/video_coding/packet.h
+++ b/modules/video_coding/packet.h
@@ -32,7 +32,7 @@
size_t size,
const RTPHeader& rtp_header,
const RTPVideoHeader& video_header,
- FrameType frame_type,
+ VideoFrameType frame_type,
int64_t ntp_time_ms);
~VCMPacket();
@@ -58,7 +58,7 @@
bool markerBit;
int timesNacked;
- FrameType frameType;
+ VideoFrameType frameType;
VCMNaluCompleteness completeNALU; // Default is kNaluIncomplete.
bool insertStartCode; // True if a start code should be inserted before this