Skip to content

Commit

Permalink
Fixed compile issue with GCC 5.4 and std::unique_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfryd committed Dec 21, 2024
1 parent bbc5d94 commit 83b8650
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions video_compare.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,22 +131,22 @@ class VideoCompare {
const size_t frame_buffer_size_;
const double time_shift_ms_;

const std::unique_ptr<Demuxer> demuxers_[Side::Count];
const std::unique_ptr<VideoDecoder> video_decoders_[Side::Count];
const std::unique_ptr<VideoFilterer> video_filterers_[Side::Count];
std::unique_ptr<Demuxer> demuxers_[Side::Count];
std::unique_ptr<VideoDecoder> video_decoders_[Side::Count];
std::unique_ptr<VideoFilterer> video_filterers_[Side::Count];

const size_t max_width_;
const size_t max_height_;
const bool initial_fast_input_alignment_;
const double shortest_duration_;

const std::unique_ptr<FormatConverter> format_converters_[Side::Count];
std::unique_ptr<FormatConverter> format_converters_[Side::Count];
const std::unique_ptr<Display> display_;
const std::unique_ptr<Timer> timer_;
const std::unique_ptr<PacketQueue> packet_queues_[Side::Count];
std::unique_ptr<PacketQueue> packet_queues_[Side::Count];
const std::shared_ptr<DecodedFrameQueue> decoded_frame_queues_[Side::Count];
const std::unique_ptr<FrameQueue> filtered_frame_queues_[Side::Count];
const std::unique_ptr<FrameQueue> converted_frame_queues_[Side::Count];
std::unique_ptr<FrameQueue> filtered_frame_queues_[Side::Count];
std::unique_ptr<FrameQueue> converted_frame_queues_[Side::Count];

std::vector<std::thread> stages_;

Expand Down

0 comments on commit 83b8650

Please sign in to comment.