video_shell: Fix typo 04/316704/2
authorSeunghun Lee <shiin.lee@samsung.com>
Tue, 27 Aug 2024 05:34:04 +0000 (14:34 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Tue, 27 Aug 2024 06:24:07 +0000 (06:24 +0000)
Change-Id: I02903978a8896d4d5a51a5215785a088d7b6748b

src/bin/server/e_video_shell.c

index 64b2f90..b3677f3 100644 (file)
@@ -1303,19 +1303,19 @@ static Eina_Bool
 _source_viewport_link(E_Video_Viewport_Source *source, E_Video_Viewport *viewport)
 {
    E_Client *ec = e_surface_ec_get(source->surface->surface);
-   E_Client *parent_surface = NULL;
+   E_Client *parent_ec = NULL;
 
    if (viewport)
      {
         _viewport_source_set(viewport, source);
-        parent_surface = e_surface_ec_get(e_subsurface_surface_get(viewport->subsurface));
+        parent_ec = e_surface_ec_get(e_subsurface_surface_get(viewport->subsurface));
      }
    else
      wtz_video_viewport_source_send_viewport_destroyed(source->resource);
 
    source->viewport = viewport;
 
-   e_comp_wl_subsurface_data_init(&source->base, ec, parent_surface, NULL);
+   e_comp_wl_subsurface_data_init(&source->base, ec, parent_ec, NULL);
    if (source->base.parent)
      {
         source->base.parent->comp_data->sub.list = eina_list_append(source->base.parent->comp_data->sub.list, ec);