westeros-compositor.cpp
/**
 * WstCompositorGetVpcBridge
 *
 * Determine the display, if any, with which this embedded compistor instance
 * will establish a VPC (Video Path Control) bridge.
 */
WstCompositorGetVpcBridge
Determine the display, if any, with which this embedded compistor instance
will establish a VPC (Video Path Control) bridge.
WstCompositorGetVpcBridge Determine the display if any with which this embedded compistor instance will establish a VPC ( Video Path Control ) bridge .
const char* WstCompositorGetVpcBridge( WstCompositor *wctx )
{
   const char *displayName= 0;
   if ( wctx && wctx->ctx )
   {
      WstContext *ctx= wctx->ctx;
      pthread_mutex_lock( &ctx->mutex );
      if ( ctx->hasVpcBridge )
      {
         displayName= ctx->nestedDisplayName;
      }
      pthread_mutex_unlock( &ctx->mutex );
   }
   return displayName;
}
const char * WstCompositorGetVpcBridge ( WstCompositor * wctx ) { const char * displayName = 0 ; if ( wctx && wctx -> ctx ) { WstContext * ctx = wctx -> ctx ; pthread_mutex_lock ( & ctx -> mutex ) ; if ( ctx -> hasVpcBridge ) { displayName = ctx -> nestedDisplayName ; } pthread_mutex_unlock ( & ctx -> mutex ) ; } return displayName ; }
WstCompositorGetVpcBridge
 Determine the display, if any, with which this embedded compistor instance
 will establish a VPC (Video Path Control) bridge.
WstCompositorGetVpcBridge Determine the display if any with which this embedded compistor instance will establish a VPC ( Video Path Control ) bridge .