X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fmm_camcorder_internal.c;h=df280561b462edbce134ca1c1797a4213af2ca12;hb=14ac398e0d968d39de2693cbb1383e27dd85d054;hp=8b1892b1a14de67357d797005262789963a7d4bb;hpb=cd9771314e48842729f0eac3b6dce8aaf936cf1a;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git diff --git a/src/mm_camcorder_internal.c b/src/mm_camcorder_internal.c index 8b1892b..df28056 100644 --- a/src/mm_camcorder_internal.c +++ b/src/mm_camcorder_internal.c @@ -787,7 +787,7 @@ int _mmcamcorder_realize(MMHandleType handle) int state = MM_CAMCORDER_STATE_NONE; int state_FROM = MM_CAMCORDER_STATE_NULL; int state_TO = MM_CAMCORDER_STATE_READY; - int display_surface_type = MM_DISPLAY_SURFACE_X; + int display_surface_type = MM_DISPLAY_SURFACE_OVERLAY; int pid_for_sound_focus = 0; double motion_rate = _MMCAMCORDER_DEFAULT_RECORDING_MOTION_RATE; char *videosink_element_type = NULL; @@ -920,8 +920,8 @@ int _mmcamcorder_realize(MMHandleType handle) videosink_element_type = strdup("VideosinkElementNull"); } else { switch (display_surface_type) { - case MM_DISPLAY_SURFACE_X: - videosink_element_type = strdup("VideosinkElementX"); + case MM_DISPLAY_SURFACE_OVERLAY: + videosink_element_type = strdup("VideosinkElementOverlay"); break; case MM_DISPLAY_SURFACE_EVAS: videosink_element_type = strdup("VideosinkElementEvas"); @@ -936,7 +936,7 @@ int _mmcamcorder_realize(MMHandleType handle) videosink_element_type = strdup("VideosinkElementRemote"); break; default: - videosink_element_type = strdup("VideosinkElementX"); + videosink_element_type = strdup("VideosinkElementOverlay"); break; } } @@ -986,7 +986,7 @@ int _mmcamcorder_realize(MMHandleType handle) mm_camcorder_get_attributes(handle, NULL, MMCAM_DISPLAY_SURFACE, &display_surface_type, NULL); - if(display_surface_type == MM_DISPLAY_SURFACE_X) { + if(display_surface_type == MM_DISPLAY_SURFACE_OVERLAY) { if((_mmcamcorder_resource_manager_prepare(&hcamcorder->resource_manager, RESOURCE_TYPE_VIDEO_OVERLAY))) { _mmcam_dbg_err("could not prepare for video overlay resource"); ret = MM_ERROR_CAMCORDER_INTERNAL;