aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunita Nadampalli2017-02-07 14:19:55 -0600
committerSunita Nadampalli2017-02-07 14:21:29 -0600
commit398dd27e7f3181fff9e3d910b418c69f1493f52f (patch)
treeecb3577c9b3df4a09cf9a764320daa65b6057817 /libdce.c
parent36f1d1389852374f3804e63e98471a751dd24e57 (diff)
downloadrepo-libdce-398dd27e7f3181fff9e3d910b418c69f1493f52f.tar.gz
repo-libdce-398dd27e7f3181fff9e3d910b418c69f1493f52f.tar.xz
repo-libdce-398dd27e7f3181fff9e3d910b418c69f1493f52f.zip
libdce: Increase the concurrent engine handle countHEAD3.00.13.00master
Increase the MAX_INSTANCES count for the concurrent engine handles to match the DCE server definitions. Change-Id: If29de276b9a173e114ad6df9b1358b4842e86b49 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Diffstat (limited to 'libdce.c')
-rw-r--r--libdce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdce.c b/libdce.c
index 583b4d7..bd7fb17 100644
--- a/libdce.c
+++ b/libdce.c
@@ -1032,7 +1032,7 @@ VIDDEC3_Handle VIDDEC3_create(Engine_Handle engine, String name,
1032 1032
1033 id = get_callback(0); 1033 id = get_callback(0);
1034 if (id < 0) { 1034 if (id < 0) {
1035 /* This is depended on the MAX_INSTANCE, by default it handles only 4 instances of codec instance (full frame or low latency) */ 1035 /* This is depended on the MAX_INSTANCE, by default it handles only 5 instances of codec instance (full frame or low latency) */
1036 ERROR("Failed because too many codec clients, Max is %d. MAX_INSTANCES default needs to be changed if required.", MAX_INSTANCES); 1036 ERROR("Failed because too many codec clients, Max is %d. MAX_INSTANCES default needs to be changed if required.", MAX_INSTANCES);
1037 goto EXIT; 1037 goto EXIT;
1038 } else { /* Found empty array to be populated */ 1038 } else { /* Found empty array to be populated */
@@ -1254,7 +1254,7 @@ VIDENC2_Handle VIDENC2_create(Engine_Handle engine, String name,
1254 1254
1255 id = get_callback(0); 1255 id = get_callback(0);
1256 if( id < 0 ) { 1256 if( id < 0 ) {
1257 /* This is depended on the MAX_INSTANCE, by default it handles only 4 instances of codec instance (full frame or low latency) */ 1257 /* This is depended on the MAX_INSTANCE, by default it handles only 5 instances of codec instance (full frame or low latency) */
1258 ERROR("Failed because too many codec clients, Max is %d. MAX_INSTANCES default needs to be changed if required.", MAX_INSTANCES); 1258 ERROR("Failed because too many codec clients, Max is %d. MAX_INSTANCES default needs to be changed if required.", MAX_INSTANCES);
1259 goto EXIT; 1259 goto EXIT;
1260 } else { /* Found empty array to be populated */ 1260 } else { /* Found empty array to be populated */