mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
recording: remove unused duration member variable
This commit is contained in:
parent
dbbf318e1c
commit
5fa77b04ea
2 changed files with 0 additions and 4 deletions
|
@ -357,7 +357,6 @@ namespace utils
|
||||||
track_fully_consumed = 0;
|
track_fully_consumed = 0;
|
||||||
has_error = false;
|
has_error = false;
|
||||||
m_size = 0;
|
m_size = 0;
|
||||||
duration_ms = 0;
|
|
||||||
timestamps_ms.clear();
|
timestamps_ms.clear();
|
||||||
data.clear();
|
data.clear();
|
||||||
}
|
}
|
||||||
|
@ -491,8 +490,6 @@ namespace utils
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
duration_ms = stream->duration / 1000;
|
|
||||||
|
|
||||||
AVPacket* packet = av_packet_alloc();
|
AVPacket* packet = av_packet_alloc();
|
||||||
std::unique_ptr<AVPacket, decltype([](AVPacket* p){av_packet_unref(p);})> packet_(packet);
|
std::unique_ptr<AVPacket, decltype([](AVPacket* p){av_packet_unref(p);})> packet_(packet);
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,6 @@ namespace utils
|
||||||
const s32 sample_rate = 48000;
|
const s32 sample_rate = 48000;
|
||||||
std::vector<u8> data;
|
std::vector<u8> data;
|
||||||
atomic_t<u64> m_size = 0;
|
atomic_t<u64> m_size = 0;
|
||||||
atomic_t<u64> duration_ms = 0;
|
|
||||||
atomic_t<u32> track_fully_decoded{0};
|
atomic_t<u32> track_fully_decoded{0};
|
||||||
atomic_t<u32> track_fully_consumed{0};
|
atomic_t<u32> track_fully_consumed{0};
|
||||||
atomic_t<bool> has_error{false};
|
atomic_t<bool> has_error{false};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue