Cleanup after all these changes in MediaPlayer and Mixer.

This commit is contained in:
brunoherbelin
2020-08-16 16:16:05 +02:00
parent 36b57c1499
commit c6d8c7189f
6 changed files with 34 additions and 56 deletions

View File

@@ -32,7 +32,7 @@ struct MediaInfo {
bool isimage;
bool interlaced;
bool seekable;
bool failed;
bool valid;
MediaInfo() {
width = par_width = 640;
@@ -43,7 +43,7 @@ struct MediaInfo {
isimage = false;
interlaced = false;
seekable = false;
failed = false;
valid = false;
}
inline MediaInfo& operator = (const MediaInfo& b)
@@ -56,7 +56,7 @@ struct MediaInfo {
this->bitrate = b.bitrate;
this->framerate = b.framerate;
this->codec_name = b.codec_name;
this->failed = b.failed;
this->valid = b.valid;
this->isimage = b.isimage;
this->interlaced = b.interlaced;
this->seekable = b.seekable;
@@ -253,6 +253,7 @@ private:
GstElement *pipeline_;
GstVideoInfo v_frame_video_info_;
std::atomic<bool> ready_;
std::atomic<bool> failed_;
bool seeking_;
bool enabled_;