examples: Create source and sink with fixation on format negotiation

This commit uses the video-src-alloc and video-play-reneg templates to create
examples for manual fixation at the format negotiation phase. These
clients simulate modifier negotiation done by clients handling DmaBufs.

Note: Neither client is capable of proper DmaBuf handling!

video-play-fixate can be used to test if a producer is capable to
fallback to shm buffer transport, while video-src-fixate can only be
used with the former example!
This commit is contained in:
columbarius 2021-10-23 17:25:13 +02:00 committed by Wim Taymans
parent 0568958856
commit 9f34885174
4 changed files with 1107 additions and 0 deletions

View file

@ -329,6 +329,7 @@ if dbus_dep.found()
endif
sdl_dep = dependency('sdl2', required : get_option('sdl2'))
summary({'SDL 2': sdl_dep.found()}, bool_yn: true, section: 'Misc dependencies')
drm_dep = dependency('libdrm', required : false)
readline_dep = dependency('readline', required : false)
if not readline_dep.found()