Commit 500774f3 authored by Thomas Guillem's avatar Thomas Guillem

omxil: all video decoders need a valid size

Therefore, this is not a quirk.
parent 1dc8c438
......@@ -41,9 +41,8 @@ int MediaCodecNdk_Init(mc_api*);
/* in sync with OMXCODEC QUIRKS */
#define MC_API_NO_QUIRKS 0
#define MC_API_QUIRKS_NEED_CSD 0x1
#define MC_API_VIDEO_QUIRKS_NEED_SIZE 0x2
#define MC_API_VIDEO_QUIRKS_IGNORE_PADDING 0x4
#define MC_API_AUDIO_QUIRKS_NEED_CHANNELS 0x8
#define MC_API_VIDEO_QUIRKS_IGNORE_PADDING 0x2
#define MC_API_AUDIO_QUIRKS_NEED_CHANNELS 0x4
struct mc_api_out
{
......
......@@ -227,9 +227,8 @@ bool OMXCodec_IsBlacklisted( const char *p_name, unsigned int i_name_len );
enum {
OMXCODEC_NO_QUIRKS = 0,
OMXCODEC_QUIRKS_NEED_CSD = 0x1,
OMXCODEC_VIDEO_QUIRKS_NEED_SIZE = 0x2,
OMXCODEC_VIDEO_QUIRKS_IGNORE_PADDING = 0x4,
OMXCODEC_AUDIO_QUIRKS_NEED_CHANNELS = 0x8,
OMXCODEC_VIDEO_QUIRKS_IGNORE_PADDING = 0x2,
OMXCODEC_AUDIO_QUIRKS_NEED_CHANNELS = 0x4,
};
int OMXCodec_GetQuirks( int i_cat, vlc_fourcc_t i_codec,
const char *p_name, unsigned int i_name_len );
......
......@@ -380,7 +380,6 @@ int OMXCodec_GetQuirks( int i_cat, vlc_fourcc_t i_codec,
if( i_cat == VIDEO_ES )
{
i_quirks |= OMXCODEC_VIDEO_QUIRKS_NEED_SIZE;
switch( i_codec )
{
case VLC_CODEC_H264:
......
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