diff options
| -rw-r--r-- | videocodec/OMXVideoDecoderVP8.cpp | 4 | ||||
| -rw-r--r-- | videocodec/OMXVideoEncoderVP8.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/videocodec/OMXVideoDecoderVP8.cpp b/videocodec/OMXVideoDecoderVP8.cpp index b81c705..d3d7fcd 100644 --- a/videocodec/OMXVideoDecoderVP8.cpp +++ b/videocodec/OMXVideoDecoderVP8.cpp @@ -42,7 +42,7 @@ OMX_ERRORTYPE OMXVideoDecoderVP8::InitInputPortFormatSpecific(OMX_PARAM_PORTDEFI paramPortDefinitionInput->nBufferCountMin = INPORT_MIN_BUFFER_COUNT; paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)VP8_MIME_TYPE; - paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVPX; + paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP8; // OMX_VIDEO_PARAM_VP8TYPE memset(&mParamVp8, 0, sizeof(mParamVp8)); @@ -107,6 +107,6 @@ OMX_ERRORTYPE OMXVideoDecoderVP8::SetParamVideoVp8(OMX_PTR pStructure) { } -DECLARE_OMX_COMPONENT("OMX.Intel.VideoDecoder.VPX", "video_decoder.vpx", OMXVideoDecoderVP8); +DECLARE_OMX_COMPONENT("OMX.Intel.VideoDecoder.VP8", "video_decoder.vp8", OMXVideoDecoderVP8); diff --git a/videocodec/OMXVideoEncoderVP8.cpp b/videocodec/OMXVideoEncoderVP8.cpp index 917c124..8df2b3d 100644 --- a/videocodec/OMXVideoEncoderVP8.cpp +++ b/videocodec/OMXVideoEncoderVP8.cpp @@ -39,7 +39,7 @@ OMX_ERRORTYPE OMXVideoEncoderVP8::InitOutputPortFormatSpecific(OMX_PARAM_PORTDEF paramPortDefinitionOutput->nBufferCountMin = OUTPORT_MIN_BUFFER_COUNT; paramPortDefinitionOutput->nBufferSize = OUTPORT_BUFFER_SIZE; paramPortDefinitionOutput->format.video.cMIMEType = (OMX_STRING)VP8_MIME_TYPE; - paramPortDefinitionOutput->format.video.eCompressionFormat = OMX_VIDEO_CodingVPX; + paramPortDefinitionOutput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP8; mParamProfileLevel.eProfile = OMX_VIDEO_VP8ProfileMain; mParamProfileLevel.eLevel = OMX_VIDEO_VP8Level_Version3; |
