projects
/
platform
/
core
/
api
/
mediacodec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7d8a5c
)
fixed not to retrieve supporting codec type
44/90944/1
author
Sejun Park
<sejun79.park@samsung.com>
Wed, 5 Oct 2016 06:23:48 +0000
(15:23 +0900)
committer
Sejun Park
<sejun79.park@samsung.com>
Wed, 5 Oct 2016 06:23:48 +0000
(15:23 +0900)
Change-Id: Ifdf164336a2c6156fea2c9a147e6a9045c186a45
src/media_codec_port.c
patch
|
blob
|
history
diff --git
a/src/media_codec_port.c
b/src/media_codec_port.c
index
4508f33
..
76e49cc
100755
(executable)
--- a/
src/media_codec_port.c
+++ b/
src/media_codec_port.c
@@
-428,6
+428,7
@@
int mc_get_supported_type(MMHandleType mediacodec, mediacodec_codec_type_e codec
LOGE("fail invaild param\n");
return MC_INVALID_ARG;
}
+
codec_map = encoder ? mc_handle->encoder_map : mc_handle->decoder_map;
num_supported_codec = encoder ? mc_handle->num_supported_encoder : mc_handle->num_supported_decoder;
@@
-437,7
+438,6
@@
int mc_get_supported_type(MMHandleType mediacodec, mediacodec_codec_type_e codec
*support_type |= MEDIACODEC_SUPPORT_TYPE_HW;
else
*support_type |= MEDIACODEC_SUPPORT_TYPE_SW;
- break;
}
}