void *set_handle = NULL;
MMDisplaySurfaceType mmType = __player_mused_convet_display_type(type);
MMDisplaySurfaceType mmClientType = MM_DISPLAY_SURFACE_NULL;
+ MMPlayerPipelineType mmPipelineType = MM_PLAYER_PIPELINE_SERVER;
int ret;
if (!__player_state_validate(handle, PLAYER_STATE_IDLE))
ret = mm_player_set_attribute(handle->mm_handle, NULL,
"display_surface_type", mmType,
"display_surface_client_type", mmClientType,
- "display_overlay", set_handle,
- sizeof(void *), (char*)NULL);
+ "display_overlay", set_handle, sizeof(void *),
+ "pipeline_type", mmPipelineType,
+ NULL);
if (ret != MM_ERROR_NONE)
{
{
ret = mm_player_set_attribute(handle->mm_handle, NULL,
"display_surface_type", mmType,
- "display_overlay", set_handle,
- sizeof(xhandle), (char*)NULL);
+ "display_overlay", set_handle, sizeof(xhandle),
+ NULL);
if (ret != MM_ERROR_NONE)
{