if (!(fmt_->flags & AVFMT_NOFILE)) \r
url_fclose(oc_->pb); // Close the output ffmpeg.\r
}\r
+\r
+ const core::video_format_desc& get_video_format_desc() const\r
+ {\r
+ return format_desc_;\r
+ }\r
\r
std::wstring print() const\r
{\r
{\r
return key_only_;\r
}\r
+\r
+ virtual const core::video_format_desc& get_video_format_desc() const\r
+ {\r
+ return consumer_->get_video_format_desc();\r
+ }\r
}; \r
\r
safe_ptr<core::frame_consumer> create_ffmpeg_consumer(const std::vector<std::wstring>& params)\r