mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-13 05:33:55 -04:00
examples: handle I420 and IYUV formats
They are represented in PipeWire with 3 planes now.
This commit is contained in:
parent
7d6e2a6417
commit
41665e6bb8
2 changed files with 19 additions and 11 deletions
|
|
@ -151,7 +151,7 @@ static inline struct spa_pod *sdl_build_formats(SDL_RendererInfo *info, struct s
|
|||
if (id == 0)
|
||||
continue;
|
||||
if (c++ == 0)
|
||||
spa_pod_builder_id(b, id);
|
||||
spa_pod_builder_id(b, SPA_VIDEO_FORMAT_UNKNOWN);
|
||||
spa_pod_builder_id(b, id);
|
||||
}
|
||||
/* then all the other ones SDL can convert from/to */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue