khronosfws/openmax_al/src/common/xaconfigextensionsitf.c
changeset 16 43d09473c595
parent 12 5a06f39ad45b
equal deleted inserted replaced
14:80975da52420 16:43d09473c595
    74             }
    74             }
    75         }
    75         }
    76         DEBUG_INFO_A1("CP conf value %d", numValue);
    76         DEBUG_INFO_A1("CP conf value %d", numValue);
    77         if(res == XA_RESULT_SUCCESS)
    77         if(res == XA_RESULT_SUCCESS)
    78         {
    78         {
    79 #ifdef _GSTREAMER_BACKEND_   
    79 
    80             /*Inform adaptation*/
    80             /*Inform adaptation*/
    81             if( impl->ctx )
    81             if( impl->ctx )
    82             {
    82             {
    83                 res = XAAdaptationBase_SetCPConfiguration(impl->ctx,impl->testbufferconf);
    83 /*                res = XAAdaptationBase_SetCPConfiguration(impl->ctx,impl->testbufferconf);*/
    84             }
    84             }
    85 #endif
    85 
    86         }
    86         }
    87     }
    87     }
    88     else
    88     else
    89     {
    89     {
    90         DEBUG_ERR("Unknown key or invalid value pointer");
    90         DEBUG_ERR("Unknown key or invalid value pointer");
   127     }
   127     }
   128     DEBUG_API("<-XAConfigExtensionsItfImpl_GetConfiguration");
   128     DEBUG_API("<-XAConfigExtensionsItfImpl_GetConfiguration");
   129     return res;
   129     return res;
   130 }
   130 }
   131 
   131 
   132 #ifdef _GSTREAMER_BACKEND_   
   132  
   133 XAresult XAConfigExtensionsItfImpl_SetContext(XAConfigExtensionsItfImpl* self,XAAdaptationBaseCtx* adptctx)
   133 XAresult XAConfigExtensionsItfImpl_SetContext(XAConfigExtensionsItfImpl* self,XAAdaptationBaseCtx* adptctx)
   134     {
   134     {
   135     XAresult res = XA_RESULT_SUCCESS;
   135     XAresult res = XA_RESULT_SUCCESS;
   136     DEBUG_API("->XAConfigExtensionsItfImpl_SetContext");
   136     DEBUG_API("->XAConfigExtensionsItfImpl_SetContext");
   137     if( adptctx && self)
   137     if( adptctx && self)
   145         res = XA_RESULT_PARAMETER_INVALID;
   145         res = XA_RESULT_PARAMETER_INVALID;
   146     }
   146     }
   147     DEBUG_API("<-XAConfigExtensionsItfImpl_SetContext");
   147     DEBUG_API("<-XAConfigExtensionsItfImpl_SetContext");
   148     return res;
   148     return res;
   149     }
   149     }
   150 #endif
   150 
   151 /**
   151 /**
   152  * XAConfigExtensionsItfImpl -specific methods
   152  * XAConfigExtensionsItfImpl -specific methods
   153  **/
   153  **/
   154 XAConfigExtensionsItfImpl* XAConfigExtensionsItfImpl_Create()
   154 XAConfigExtensionsItfImpl* XAConfigExtensionsItfImpl_Create()
   155 {
   155 {