}\r
}\r
\r
-video_format_desc& video_format_desc::operator=(const video_format_desc& other)\r
-{\r
- format = other.format; \r
- width = other.width;\r
- height = other.height;\r
- square_width = other.square_width;\r
- square_height = other.square_height;\r
- field_mode = other.field_mode;\r
- fps = other.fps;\r
- time_scale = other.time_scale;\r
- duration = other.duration;\r
- field_count = other.field_count;\r
- size = other.size;\r
- name = other.name;\r
- audio_sample_rate = other.audio_sample_rate;\r
- audio_channels = other.audio_channels;\r
- audio_cadence = other.audio_cadence;\r
-\r
- return *this;\r
-}\r
-\r
bool operator==(const video_format_desc& lhs, const video_format_desc& rhs)\r
{ \r
return lhs.format == rhs.format;\r
int duration,\r
const std::wstring& name,\r
const std::vector<int>& audio_cadence);\r
-\r
- video_format_desc& operator=(const video_format_desc& other);\r
- \r
+ \r
video_format_desc(video_format format = video_format::invalid);\r
video_format_desc(const std::wstring& name);\r
};\r