Simplify GVFG API and frame diagnostics
This commit is contained in:
@@ -461,7 +461,6 @@ void MainWindow::init()
|
||||
const uint64_t frameSize =
|
||||
(uint64_t)video_width * 4u * (uint64_t)video_height;
|
||||
gvfg_preview_frame_t frame{};
|
||||
frame.struct_size = sizeof(frame);
|
||||
frame.data = data;
|
||||
frame.data_size = frameSize;
|
||||
frame.width = video_width;
|
||||
|
||||
-1
@@ -37,7 +37,6 @@ extern "C"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t struct_size; /* Set to sizeof(gvfg_preview_frame_t). */
|
||||
const void *data;
|
||||
uint64_t data_size;
|
||||
int width;
|
||||
|
||||
Reference in New Issue
Block a user