]> git.sesse.net Git - nageru/blobdiff - nageru/pbo_frame_allocator.h
Move VAResourcePool into a shared class between MJPEGEncoder in Nageru and the VA...
[nageru] / nageru / pbo_frame_allocator.h
index eee25ce906d443f6656935c33e3f9cfda476af9b..43ae6cbf622d1d43f66a49166cc38cb7671245ae 100644 (file)
@@ -89,8 +89,8 @@ public:
                //    from there into VA-API buffers (by MJPEGEncoder) if needed.
                enum { FROM_MALLOC, FROM_VA_API } data_copy_current_src;
                uint8_t *data_copy_malloc;
-               MJPEGEncoder::VAResources va_resources;
-               MJPEGEncoder::ReleaseVAResources va_resources_release;
+               VAResourcePool::VAResources va_resources;
+               ReleaseVAResources va_resources_release;
 
                int generation;
        };