Commit e6d6cbdf authored by Laurent Aimar's avatar Laurent Aimar

Added fourcc helpers and defines to centralize them.

It introduces a bunch of VLC_CODEC_* defines as a representative
fourcc for a codec. The fourccs have been chosen pretty much randomly
except when I knew well know ones.

It adds two helpers: vlc_fourcc_GetCodec and vlc_fourcc_GetDescription.

Don't hesitate if you have any comments.
parent c6d2ba8a
This diff is collapsed.
...@@ -58,6 +58,7 @@ pluginsinclude_HEADERS = \ ...@@ -58,6 +58,7 @@ pluginsinclude_HEADERS = \
../include/vlc_es_out.h \ ../include/vlc_es_out.h \
../include/vlc_events.h \ ../include/vlc_events.h \
../include/vlc_filter.h \ ../include/vlc_filter.h \
../include/vlc_fourcc.h \
../include/vlc_gcrypt.h \ ../include/vlc_gcrypt.h \
../include/vlc_httpd.h \ ../include/vlc_httpd.h \
../include/vlc_image.h \ ../include/vlc_image.h \
...@@ -359,6 +360,7 @@ SOURCES_libvlc_common = \ ...@@ -359,6 +360,7 @@ SOURCES_libvlc_common = \
misc/rand.c \ misc/rand.c \
misc/mtime.c \ misc/mtime.c \
misc/block.c \ misc/block.c \
misc/fourcc.c \
misc/es_format.c \ misc/es_format.c \
modules/modules.h \ modules/modules.h \
modules/modules.c \ modules/modules.c \
......
...@@ -453,6 +453,8 @@ vlc_event_send ...@@ -453,6 +453,8 @@ vlc_event_send
__vlc_execve __vlc_execve
vlc_fastmem_register vlc_fastmem_register
vlc_freeaddrinfo vlc_freeaddrinfo
vlc_fourcc_GetClass
vlc_fourcc_GetDescription
vlc_gai_strerror vlc_gai_strerror
vlc_gc_init vlc_gc_init
vlc_getaddrinfo vlc_getaddrinfo
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment