diff --git a/libavfilter/vf_cuda_grid.c b/libavfilter/vf_cuda_grid.c index 7197894..ad20f28 100644 --- a/libavfilter/vf_cuda_grid.c +++ b/libavfilter/vf_cuda_grid.c @@ -182,6 +182,19 @@ static const LayoutTemplate layouts[] = { "panoramic", 1, { {0.0f, 0.0f, 1.0f, 1.0f} } }, + { + /* Main 16:9 (960×540 при 1280×720 output) + 3 preview right + bottom strip. + * cell 4 = info strip (1280×180), без input pad → blank background для + * browser overlays / text / chat. Все cells 16:9 native — no stretch. */ + "main_with_strip", 5, + { + {0.0f, 0.0f, 0.75f, 0.75f}, /* 0: main 16:9 */ + {0.75f, 0.0f, 0.25f, 0.25f}, /* 1: preview top */ + {0.75f, 0.25f, 0.25f, 0.25f}, /* 2: preview mid */ + {0.75f, 0.5f, 0.25f, 0.25f}, /* 3: preview bot */ + {0.0f, 0.75f, 1.0f, 0.25f}, /* 4: info strip — для overlays */ + } + }, }; static const LayoutTemplate *find_layout(const char *name)