[Unwrap] Use RtpTimestampUnwrapper in IvfFileWriter

Bug: webrtc:13982
Change-Id: Iddcc32d5836be524368d691ce4ab0ad630b4b559
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288747
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Auto-Submit: Evan Shrubsole <eshr@webrtc.org>
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39040}
This commit is contained in:
Evan Shrubsole 2023-01-09 13:41:41 +00:00 committed by WebRTC LUCI CQ
parent 1c7602c65d
commit 5ef5c2e9b8

View File

@ -18,8 +18,8 @@
#include "api/video/encoded_image.h"
#include "api/video/video_codec_type.h"
#include "rtc_base/numerics/sequence_number_unwrapper.h"
#include "rtc_base/system/file_wrapper.h"
#include "rtc_base/time_utils.h"
namespace webrtc {
@ -57,7 +57,7 @@ class IvfFileWriter {
uint16_t height_;
int64_t last_timestamp_;
bool using_capture_timestamps_;
rtc::TimestampWrapAroundHandler wrap_handler_;
RtpTimestampUnwrapper wrap_handler_;
FileWrapper file_;
};