0
},
{
- "display_surface_client_type",
- MM_ATTRS_TYPE_INT,
- MM_ATTRS_FLAG_RW,
- (void *) MM_DISPLAY_SURFACE_NULL,
- MM_ATTRS_VALID_TYPE_INT_RANGE,
- MM_DISPLAY_SURFACE_OVERLAY,
- MM_DISPLAY_SURFACE_NUM - 1
- },
- {
"drc_mode",
MM_ATTRS_TYPE_INT,
MM_ATTRS_FLAG_RW,
/* NOTE : not make videobin because application dose not want to play it even though file has video stream. */
/* get video surface type */
int surface_type = 0;
- int surface_client_type = 0;
mm_attrs_get_int_by_name(player->attrs, "display_surface_type", &surface_type);
- mm_attrs_get_int_by_name(player->attrs, "display_surface_client_type", &surface_client_type);
- LOGD("display_surface_type : server(%d), client(%d)\n", surface_type, surface_client_type);
+ LOGD("display_surface_type (%d)\n", surface_type);
if (surface_type == MM_DISPLAY_SURFACE_NULL || surface_type == MM_DISPLAY_SURFACE_REMOTE)
{
goto ERROR;
}
- if (surface_client_type == MM_DISPLAY_SURFACE_OVERLAY)
+ if (surface_type == MM_DISPLAY_SURFACE_OVERLAY)
{
if (_mmplayer_resource_manager_get_state(&player->resource_manager, &resource_state) == MM_ERROR_NONE)
{