aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dce_rpc.h2
-rw-r--r--libdce.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/dce_rpc.h b/dce_rpc.h
index cba0d3f..4bd45e6 100644
--- a/dce_rpc.h
+++ b/dce_rpc.h
@@ -49,7 +49,7 @@
49#define MAX_OUTPUT_BUFPTRS 2//To take care bufs and bufSizes in viddec2 case 49#define MAX_OUTPUT_BUFPTRS 2//To take care bufs and bufSizes in viddec2 case
50#define MAX_TOTAL_BUF (MAX_INPUT_BUF + MAX_OUTPUT_BUF + MAX_OUTPUT_BUFPTRS) 50#define MAX_TOTAL_BUF (MAX_INPUT_BUF + MAX_OUTPUT_BUF + MAX_OUTPUT_BUFPTRS)
51 51
52#define MAX_INSTANCES 4 52#define MAX_INSTANCES 6 // aligned with IPUMM definitions for MAX instances i.e.,5, + 1 for persistent system
53/* Message-Ids: 53/* Message-Ids:
54 */ 54 */
55//#define DCE_RPC_CONNECT (0x80000000 | 00) Connect not needed anymore. 55//#define DCE_RPC_CONNECT (0x80000000 | 00) Connect not needed anymore.
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 */