Unify FrameType and VideoFrameType.
Prevents some heap allocation and frame-type conversion since interfaces mismatch. Also it's less confusing to have one type for this. BUG=webrtc:5042 R=magjed@webrtc.org, mflodman@webrtc.org, henrik.lundin@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org Review URL: https://codereview.webrtc.org/1371043003 Cr-Commit-Position: refs/heads/master@{#10320}
This commit is contained in:
@ -58,7 +58,7 @@ int32_t TestPackStereo::SendData(const FrameType frame_type,
|
||||
rtp_info.header.sequenceNumber = seq_no_++;
|
||||
rtp_info.header.payloadType = payload_type;
|
||||
rtp_info.header.timestamp = timestamp;
|
||||
if (frame_type == kFrameEmpty) {
|
||||
if (frame_type == kEmptyFrame) {
|
||||
// Skip this frame
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user