Skip to content
Snippets Groups Projects
Commit 334608fd authored by Thomas Guillem's avatar Thomas Guillem
Browse files

mediacodec: assert that omx quirks are the same

parent c38ee001
No related branches found
No related tags found
No related merge requests found
Pipeline #10638 failed with stage
in 21 minutes and 25 seconds
......@@ -38,6 +38,13 @@
#include "mediacodec.h"
static_assert(MC_API_NO_QUIRKS == OMXCODEC_NO_QUIRKS
&& MC_API_QUIRKS_NEED_CSD == OMXCODEC_QUIRKS_NEED_CSD
&& MC_API_VIDEO_QUIRKS_IGNORE_PADDING == OMXCODEC_VIDEO_QUIRKS_IGNORE_PADDING
&& MC_API_VIDEO_QUIRKS_SUPPORT_INTERLACED == OMXCODEC_VIDEO_QUIRKS_SUPPORT_INTERLACED
&& MC_API_AUDIO_QUIRKS_NEED_CHANNELS == OMXCODEC_AUDIO_QUIRKS_NEED_CHANNELS,
"mediacodec.h/omx_utils.h mismatch");
char* MediaCodec_GetName(vlc_object_t *p_obj, const char *psz_mime,
int hxxx_profile, int *p_quirks);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment