https://github.com/videolan/vlc
Revision 2a4957c0f8fdc37f5373d7c7967879d56ed8461e authored by Loïc on 09 March 2023, 14:06:56 UTC, committed by Jean-Baptiste Kempf on 16 March 2023, 14:20:37 UTC
This commit introduce a typed virtual table for operations on demux, aiming at replacing the legacy pf_control() callback which is using va_list. As a counterpart to the typed virtual table, typed methods are also introduce. The operations can be implemented by the modules directly right now and will be used when possible. This is done to provide type safety at every level. When no operation is provided (ie, demux_t.ops is NULL) by a module implementation, the legacy pf_control will be used instead as a fallback. The commit doesn't migrate any of modules yet.
1 parent 6baee5a
Tip revision: 2a4957c0f8fdc37f5373d7c7967879d56ed8461e authored by Loïc on 09 March 2023, 14:06:56 UTC
demux: introduce typed operations for demux
demux: introduce typed operations for demux
Tip revision: 2a4957c
File | Mode | Size |
---|---|---|
autotools | ||
bin | ||
buildsystem | ||
compat | ||
contrib | ||
doc | ||
extras | ||
include | ||
lib | ||
m4 | ||
modules | ||
po | ||
share | ||
src | ||
test | ||
.gitignore | -rw-r--r-- | 471 bytes |
.mailmap | -rw-r--r-- | 7.1 KB |
AUTHORS | -rw-r--r-- | 18.7 KB |
COPYING | -rw-r--r-- | 17.7 KB |
COPYING.LIB | -rw-r--r-- | 25.9 KB |
INSTALL | -rw-r--r-- | 1.4 KB |
Makefile.am | -rw-r--r-- | 6.5 KB |
NEWS | -rw-r--r-- | 202.7 KB |
README.md | -rw-r--r-- | 5.6 KB |
THANKS | -rw-r--r-- | 5.5 KB |
bootstrap | -rwxr-xr-x | 1.8 KB |
config.h.meson | -rw-r--r-- | 15.0 KB |
configure.ac | -rw-r--r-- | 140.3 KB |
make-alias | -rwxr-xr-x | 299 bytes |
meson.build | -rw-r--r-- | 32.2 KB |
meson_options.txt | -rw-r--r-- | 14.3 KB |
Computing file changes ...