]> git.sesse.net Git - casparcg/blobdiff - core/frame/frame_factory.h
[image_producer] refuse too large images nicely instead of letting OpenGL tell us...
[casparcg] / core / frame / frame_factory.h
index 5aa865af087cf5c122173a6204601828c5ff5f30..4f9d1c8d80e250efc85b2c6d5c07d87c7921628d 100644 (file)
@@ -42,9 +42,14 @@ public:
 
        // Methods
 
-       virtual mutable_frame create_frame(const void* video_stream_tag, const pixel_format_desc& desc) = 0;    
+       virtual mutable_frame create_frame(
+                       const void* video_stream_tag,
+                       const pixel_format_desc& desc,
+                       const core::audio_channel_layout& channel_layout) = 0;
 
        // Properties
+
+       virtual int get_max_frame_size() = 0;
 };
 
 }}
\ No newline at end of file