mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-02 15:02:11 +00:00
recording: remove unused duration member variable
This commit is contained in:
parent
dbbf318e1c
commit
5fa77b04ea
@ -357,7 +357,6 @@ namespace utils
|
||||
track_fully_consumed = 0;
|
||||
has_error = false;
|
||||
m_size = 0;
|
||||
duration_ms = 0;
|
||||
timestamps_ms.clear();
|
||||
data.clear();
|
||||
}
|
||||
@ -491,8 +490,6 @@ namespace utils
|
||||
return;
|
||||
}
|
||||
|
||||
duration_ms = stream->duration / 1000;
|
||||
|
||||
AVPacket* packet = av_packet_alloc();
|
||||
std::unique_ptr<AVPacket, decltype([](AVPacket* p){av_packet_unref(p);})> packet_(packet);
|
||||
|
||||
|
@ -76,7 +76,6 @@ namespace utils
|
||||
const s32 sample_rate = 48000;
|
||||
std::vector<u8> data;
|
||||
atomic_t<u64> m_size = 0;
|
||||
atomic_t<u64> duration_ms = 0;
|
||||
atomic_t<u32> track_fully_decoded{0};
|
||||
atomic_t<u32> track_fully_consumed{0};
|
||||
atomic_t<bool> has_error{false};
|
||||
|
Loading…
Reference in New Issue
Block a user