venc: fixed a FrameMap problem in kMetadataBufferTypeCameraSource case.
authorTaehwan Kim <t_h.kim@samsung.com>
Mon, 4 Mar 2013 05:17:18 +0000 (05:17 +0000)
committerHuisung Kang <hs1218.kang@samsung.com>
Mon, 4 Mar 2013 23:44:24 +0000 (08:44 +0900)
commit565c1e8e086258d2e45fd730c4a2d0eb2773e5b9
treeae21dc006752cf90ee29535211d095ef71f70439
parentb87aa5fd036dcaf329837c458094db5d752a0f1b
venc: fixed a FrameMap problem in kMetadataBufferTypeCameraSource case.

in case of kMetadataBufferTypeCameraSource,
ANBColorFormat is not set.
so, It is possible to use an uninitialized value.

modified a handling to decide a value of FrameMap.

Change-Id: I5221f48902724b47d68a1e6170c34695a60fad36
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
component/video/enc/h264/Exynos_OMX_H264enc.c
component/video/enc/mpeg4/Exynos_OMX_Mpeg4enc.c