summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Paladugu <ppaladug@codeaurora.org>2014-09-08 13:58:49 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2015-04-22 12:12:34 -0700
commit3da52844cb05f1e9a608d7355f461d74f2c1092e (patch)
tree809bb6092dcc235c4e325190ed2ae4f1121a45c2
parent8bc1ac96f9a4b1a6e3f253e3e46f242f1f24b006 (diff)
downloadandroid_hardware_qcom_media-3da52844cb05f1e9a608d7355f461d74f2c1092e.tar.gz
android_hardware_qcom_media-3da52844cb05f1e9a608d7355f461d74f2c1092e.tar.bz2
android_hardware_qcom_media-3da52844cb05f1e9a608d7355f461d74f2c1092e.zip
mm-video-v4l2 : vidc: vdec: Amend correct extension for HEVC decoder
When input bit stream logging enabled for HEVC decoder, the logged file is saved with .divx extension. This adds confusion while debugging. This change fixes the same. Change-Id: I6f7b55cc2d7868beba42af3e6c1d54ed77e7c51f
-rw-r--r--mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp b/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp
index 47637360..670e61b6 100644
--- a/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp
+++ b/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp
@@ -1323,6 +1323,10 @@ int omx_vdec::log_input_buffers(const char *buffer_addr, int buffer_len)
sprintf(m_debug.infile_name, "%s/input_dec_%d_%d_%p.264",
m_debug.log_loc, drv_ctx.video_resolution.frame_width, drv_ctx.video_resolution.frame_height, this);
}
+ else if(!strncmp(drv_ctx.kind, "OMX.qcom.video.decoder.hevc", OMX_MAX_STRINGNAME_SIZE)) {
+ sprintf(m_debug.infile_name, "%s/input_dec_%d_%d_%p.265",
+ m_debug.log_loc, drv_ctx.video_resolution.frame_width, drv_ctx.video_resolution.frame_height, this);
+ }
else if(!strncmp(drv_ctx.kind, "OMX.qcom.video.decoder.vc1", OMX_MAX_STRINGNAME_SIZE)) {
sprintf(m_debug.infile_name, "%s/input_dec_%d_%d_%p.vc1",
m_debug.log_loc, drv_ctx.video_resolution.frame_width, drv_ctx.video_resolution.frame_height, this);