diff options
author | Buddy Liong | 2015-02-03 14:33:02 -0600 |
---|---|---|
committer | Gerrit Code Review | 2015-02-26 15:13:50 -0600 |
commit | 3a2e659dfe7b212bc262ca93353305c95ccf37bb (patch) | |
tree | bf56ce22f2b5e461eceef53f0bc8a4ac75a5277a | |
parent | 968acc5b54491736e6ad543685b3778be003ea83 (diff) | |
download | hardware-ti-libdce-3a2e659dfe7b212bc262ca93353305c95ccf37bb.tar.gz hardware-ti-libdce-3a2e659dfe7b212bc262ca93353305c95ccf37bb.tar.xz hardware-ti-libdce-3a2e659dfe7b212bc262ca93353305c95ccf37bb.zip |
[TEST_QNX] Cleanup debug print.
Instead of ERROR, it should be DEBUG as we don't want
it to be printed every encoded instance.
Removed OMAP5 defined flag as it is not used.
Change-Id: Ied3bb95d067b55e601cbd47817d2578d21b5b920
Signed-off-by: Buddy Liong <buddy.budiono@ti.com>
-rw-r--r-- | test_qnx/dce_enc_test/dce_enc_test.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test_qnx/dce_enc_test/dce_enc_test.c b/test_qnx/dce_enc_test/dce_enc_test.c index d5b489e..cbc80e3 100644 --- a/test_qnx/dce_enc_test/dce_enc_test.c +++ b/test_qnx/dce_enc_test/dce_enc_test.c | |||
@@ -52,9 +52,6 @@ | |||
52 | 52 | ||
53 | #include "ti/shmemallocator/SharedMemoryAllocatorUsr.h" | 53 | #include "ti/shmemallocator/SharedMemoryAllocatorUsr.h" |
54 | 54 | ||
55 | |||
56 | #define OMAP5 | ||
57 | |||
58 | #define PRINT_DEBUG | 55 | #define PRINT_DEBUG |
59 | //#define H264_DEBUG | 56 | //#define H264_DEBUG |
60 | 57 | ||
@@ -1139,7 +1136,7 @@ int main(int argc, char * *argv) | |||
1139 | mpeg4enc_status = (IMPEG4ENC_Status *) status; | 1136 | mpeg4enc_status = (IMPEG4ENC_Status *) status; |
1140 | DEBUG("dce_alloc IMPEG4ENC_Status successful mpeg4enc_status=%p", mpeg4enc_status); | 1137 | DEBUG("dce_alloc IMPEG4ENC_Status successful mpeg4enc_status=%p", mpeg4enc_status); |
1141 | err = VIDENC2_control(codec, XDM_SETPARAMS, (VIDENC2_DynamicParams *) mpeg4enc_dynParams, (VIDENC2_Status *) mpeg4enc_status); | 1138 | err = VIDENC2_control(codec, XDM_SETPARAMS, (VIDENC2_DynamicParams *) mpeg4enc_dynParams, (VIDENC2_Status *) mpeg4enc_status); |
1142 | ERROR("Codec_control returned err=%d, extendedError=%08x", err, mpeg4enc_status->videnc2Status.extendedError); | 1139 | DEBUG("Codec_control returned err=%d, extendedError=%08x", err, mpeg4enc_status->videnc2Status.extendedError); |
1143 | break; | 1140 | break; |
1144 | default : | 1141 | default : |
1145 | ERROR("Unrecognized codec to encode"); | 1142 | ERROR("Unrecognized codec to encode"); |