[video_player] Add missing mutex (#24)

This commit is contained in:
Hidenori Matsubayashi
2021-08-05 13:32:11 +09:00
committed by GitHub
parent dd294a8803
commit ee9630877a
4 changed files with 17 additions and 6 deletions
@@ -66,6 +66,7 @@ class GstVideoPlayer {
bool mute_ = false;
bool auto_repeat_ = false;
bool is_completed_ = false;
std::mutex mutex_event_completed_;
std::shared_mutex mutex_buffer_;
std::unique_ptr<VideoPlayerStreamHandler> stream_handler_;
};