Fix typo and newline character 13/287113/1
authorJeongyoon Nam <just.nam@samsung.com>
Tue, 6 Dec 2022 06:37:10 +0000 (15:37 +0900)
committerJeongyoon Nam <just.nam@samsung.com>
Fri, 20 Jan 2023 01:46:34 +0000 (10:46 +0900)
Change-Id: Iba873f9fb59f710afd8270576e28c2185267c7e6

config/esplusplayer.ini
src/esplusplayer/src/esplusplayer_capi.cpp

index bbcb276..f3fd38a 100644 (file)
@@ -1,8 +1,8 @@
-{\r
-  "gstparam1" : "--gst-debug=*:2",\r
-  "gstparam2" : "--gst-disable-segtrap",\r
-  "gstparam3" : "--gst-plugin-load",\r
-  "gstparam4" : "--gst-disable-registry-fork",\r
-  "gstparam5" : "--gst-disable-registry-update",\r
-  "generate_dot" : false\r
-}\r
+{
+  "gstparam1" : "--gst-debug=*:2",
+  "gstparam2" : "--gst-disable-segtrap",
+  "gstparam3" : "--gst-plugin-load",
+  "gstparam4" : "--gst-disable-registry-fork",
+  "gstparam5" : "--gst-disable-registry-update",
+  "generate_dot" : false
+}
index b6812d5..6563509 100644 (file)
@@ -874,13 +874,13 @@ int esplusplayer_set_video_roi(esplusplayer_handle handle, double scale_x,
              "scale-x : %lf, scale-y: %lf, scale-w : %lf, scale-h : %lf",
              scale_x, scale_y, scale_w, scale_h);
 
-  CropArea rio_area;
-  rio_area.scale_x = scale_x;
-  rio_area.scale_y = scale_y;
-  rio_area.scale_w = scale_w;
-  rio_area.scale_h = scale_h;
+  CropArea roi_area;
+  roi_area.scale_x = scale_x;
+  roi_area.scale_y = scale_y;
+  roi_area.scale_w = scale_w;
+  roi_area.scale_h = scale_h;
 
-  return convert_return_type_(cast_(handle)->SetVideoRoi(rio_area));
+  return convert_return_type_(cast_(handle)->SetVideoRoi(roi_area));
 }
 
 int esplusplayer_set_display_rotation(