[vlc-commits] es_out: printf the MaxCLL and MaxFALL as the uint16_t values that they are

Steve Lhomme git at videolan.org
Wed Jul 11 15:35:27 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jul 11 15:27:23 2018 +0200| [6f58301984509a47ff6d20a54996fcfcc12cc31a] | committer: Steve Lhomme

es_out: printf the MaxCLL and MaxFALL as the uint16_t values that they are

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

 src/input/es_out.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index cd61ba76e3..567e4e452c 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -3340,12 +3340,12 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
        }
        if ( fmt->video.lighting.MaxCLL )
        {
-           info_category_AddInfo( p_cat, "MaxCLL", "%d cd/m²",
+           info_category_AddInfo( p_cat, "MaxCLL", "%" PRIu16 " cd/m²",
                                   fmt->video.lighting.MaxCLL );
        }
        if ( fmt->video.lighting.MaxFALL )
        {
-           info_category_AddInfo( p_cat, "MaxFALL", "%d cd/m²",
+           info_category_AddInfo( p_cat, "MaxFALL", "%" PRIu16 " cd/m²",
                                   fmt->video.lighting.MaxFALL );
        }
        break;



More information about the vlc-commits mailing list