Commit 9fb0aecc authored by Martin Storsjö's avatar Martin Storsjö Committed by Jean-Baptiste Kempf

iomx: Handle more parameter types

These aren't used by the vlc omxil code, but might be used by
other omxil clients that can use the vlc iomx wrapper.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent d822f675
......@@ -163,6 +163,16 @@ static int get_param_size(OMX_INDEXTYPE param_index)
return sizeof(OMX_AUDIO_PARAM_WMATYPE);
case OMX_IndexParamAudioRa:
return sizeof(OMX_AUDIO_PARAM_RATYPE);
case OMX_IndexParamVideoPortFormat:
return sizeof(OMX_VIDEO_PARAM_PORTFORMATTYPE);
case OMX_IndexParamVideoBitrate:
return sizeof(OMX_VIDEO_PARAM_BITRATETYPE);
case OMX_IndexParamVideoH263:
return sizeof(OMX_VIDEO_PARAM_H263TYPE);
case OMX_IndexParamVideoMpeg4:
return sizeof(OMX_VIDEO_PARAM_MPEG4TYPE);
case OMX_IndexParamVideoAvc:
return sizeof(OMX_VIDEO_PARAM_AVCTYPE);
default:
return 0;
}
......
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