plugin: Add context handler base class

In order to bridge work with GL between GTK and GStreamer reliably, we need to create and
check context capabilities ahead of time. We also need to be able to query context at any
time during playback. Also we should avoid changing importers on context queries, this can
lead to all sort of problems.

To be able to achieve all of above, introduce new context handler base class that works
separately of importers.
This commit is contained in:
Rafał Dzięgiel
2022-06-12 13:58:44 +02:00
parent 9885a2f424
commit 0920914b89
3 changed files with 149 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ gst_clapper_plugin_sources = [
'gstclapperpaintable.c',
'gstgtkutils.c',
'gstplugin.c',
'gstclappercontexthandler.c',
'gstclapperimporter.c',
'gstclapperimporterloader.c',
]