X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_content.h;h=d32769b5a9dde2ec41128207983e04b9721b8c0e;hb=5dc2dbdb6639f8d617a40209ad603d2a38f9df2a;hp=27b36e9bc65ed73358ae36ef2da2adb32c607f77;hpb=8c7a308c03e4b4196b4e2379a26d432b100ae2b1;p=dcpomatic.git diff --git a/src/lib/video_content.h b/src/lib/video_content.h index 27b36e9bc..d32769b5a 100644 --- a/src/lib/video_content.h +++ b/src/lib/video_content.h @@ -62,6 +62,7 @@ public: static std::vector all () { return _scales; } + static VideoContentScale from_id (std::string id); private: /** a ratio to stretch the content to, or 0 for no stretch */