[vlc-commits] include: use vlc_rational_t for display zoom

Rémi Denis-Courmont git at videolan.org
Fri Feb 12 18:18:46 UTC 2021


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb  9 18:13:18 2021 +0200| [91033fbb2d712487cbb8f5538c76e3bb52cde85e] | committer: Rémi Denis-Courmont

include: use vlc_rational_t for display zoom

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=91033fbb2d712487cbb8f5538c76e3bb52cde85e
---

 include/vlc_vout_display.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/include/vlc_vout_display.h b/include/vlc_vout_display.h
index 58a0c2e430..36018a9542 100644
--- a/include/vlc_vout_display.h
+++ b/include/vlc_vout_display.h
@@ -119,10 +119,7 @@ typedef struct vout_display_cfg {
     bool is_display_filled;
 
     /** Zoom ratio */
-    struct {
-        unsigned num;
-        unsigned den;
-    } zoom;
+    vlc_rational_t zoom;
 
     vlc_viewpoint_t viewpoint;
 } vout_display_cfg_t;



More information about the vlc-commits mailing list