[vlc-commits] vout: epg: split time sizes

Francois Cartegnie git at videolan.org
Tue Jun 6 20:28:34 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue May 30 17:39:32 2017 +0200| [9fe29986ced3494806ff54595b95c0dd1fa36413] | committer: Francois Cartegnie

vout: epg: split time sizes

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

 src/video_output/video_epg.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/video_output/video_epg.c b/src/video_output/video_epg.c
index 2ed245a3b8..366e23edb7 100644
--- a/src/video_output/video_epg.c
+++ b/src/video_output/video_epg.c
@@ -38,6 +38,7 @@
 #define EPG_LEFT 0.1
 #define EPG_NAME_SIZE 0.05
 #define EPG_PROGRAM_SIZE 0.03
+#define EPG_TIME_SIZE 0.03
 
 static subpicture_region_t * vout_OSDEpgSlider(int x, int y,
                                                int width, int height,
@@ -210,7 +211,7 @@ static subpicture_region_t * vout_BuildOSDEpg(vlc_epg_t *epg,
     *last_ptr = vout_OSDEpgText(text_start,
                                 x + visible_width  * (EPG_LEFT + 0.02),
                                 y + visible_height * (EPG_TOP + 0.15),
-                                visible_height * EPG_PROGRAM_SIZE,
+                                visible_height * EPG_TIME_SIZE,
                                 0x00ffffff);
 
     if (!*last_ptr)
@@ -220,7 +221,7 @@ static subpicture_region_t * vout_BuildOSDEpg(vlc_epg_t *epg,
     *last_ptr = vout_OSDEpgText(text_end,
                                 x + visible_width  * (1 - EPG_LEFT - 0.085),
                                 y + visible_height * (EPG_TOP + 0.15),
-                                visible_height * EPG_PROGRAM_SIZE,
+                                visible_height * EPG_TIME_SIZE,
                                 0x00ffffff);
 
     return head;



More information about the vlc-commits mailing list