[vlc-commits] es_out: be more clear about visible_(width|height)

Jean-Baptiste Kempf git at videolan.org
Sun Apr 17 10:52:44 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr 17 10:52:18 2016 +0200| [44853abf0c38da5aa48fe1c1e8da76989c8a5401] | committer: Jean-Baptiste Kempf

es_out: be more clear about visible_(width|height)

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

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

diff --git a/src/input/es_out.c b/src/input/es_out.c
index a925a67..4dafa6f 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2977,15 +2977,16 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
     case VIDEO_ES:
         info_category_AddInfo( p_cat, _("Type"), _("Video") );
 
-        if( fmt->video.i_width > 0 && fmt->video.i_height > 0 )
-            info_category_AddInfo( p_cat, _("Resolution"), "%ux%u",
-                                   fmt->video.i_width, fmt->video.i_height );
-
         if( fmt->video.i_visible_width > 0 &&
             fmt->video.i_visible_height > 0 )
             info_category_AddInfo( p_cat, _("Display resolution"), "%ux%u",
                                    fmt->video.i_visible_width,
                                    fmt->video.i_visible_height);
+
+        if( fmt->video.i_width > 0 && fmt->video.i_height > 0 )
+            info_category_AddInfo( p_cat, _("Buffer dimensions"), "%ux%u",
+                                   fmt->video.i_width, fmt->video.i_height );
+
        if( fmt->video.i_frame_rate > 0 &&
            fmt->video.i_frame_rate_base > 0 )
        {



More information about the vlc-commits mailing list