[vlc-commits] transcode: Store the scale factor as a float

Hugo Beauzée-Luyssen git at videolan.org
Wed Aug 23 17:39:37 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Aug 23 11:20:56 2017 +0200| [746354b9a23f05e0fefb4999659280ab82a7052e] | committer: Hugo Beauzée-Luyssen

transcode: Store the scale factor as a float

it is fetched as a float, and used with floats.

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

 modules/stream_out/transcode/transcode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/transcode/transcode.h b/modules/stream_out/transcode/transcode.h
index add3645231..88b455bc7e 100644
--- a/modules/stream_out/transcode/transcode.h
+++ b/modules/stream_out/transcode/transcode.h
@@ -42,7 +42,7 @@ struct sout_stream_sys_t
     char            *psz_venc;
     config_chain_t  *p_video_cfg;
     int             i_vbitrate;
-    double          f_scale;
+    float           f_scale;
     unsigned int    i_width, i_maxwidth;
     unsigned int    i_height, i_maxheight;
     char            *psz_deinterlace;



More information about the vlc-commits mailing list