diff --git a/mediainfo/src/mi-info.vala b/mediainfo/src/mi-info.vala index 82073cd904..7d9058141a 100644 --- a/mediainfo/src/mi-info.vala +++ b/mediainfo/src/mi-info.vala @@ -191,7 +191,7 @@ public class MediaInfo.Info : VBox sinfo = l.nth_data (i); row = 0; - table = new Table (2, 6, false); + table = new Table (2, 7, false); label = new Label(sinfo.get_caps ().to_string ()); label.set_ellipsize (Pango.EllipsizeMode.END); @@ -199,6 +199,15 @@ public class MediaInfo.Info : VBox table.attach (label, 0, 2, row, row+1, fill_exp, 0, 0, 1); row++; + label = new Label ("Codec:"); + label.set_alignment (1.0f, 0.5f); + table.attach (label, 0, 1, row, row+1, fill, 0, 0, 0); + str = pb_utils_get_codec_description( sinfo.get_caps ()); + label = new Label (str); + label.set_alignment (0.0f, 0.5f); + table.attach (label, 1, 2, row, row+1, fill_exp, 0, 3, 1); + row++; + label = new Label ("Bitrate:"); label.set_alignment (1.0f, 0.5f); table.attach (label, 0, 1, row, row+1, fill, 0, 0, 0); @@ -257,7 +266,7 @@ public class MediaInfo.Info : VBox sinfo = l.nth_data (i); row = 0; - table = new Table (2, 5, false); + table = new Table (2, 6, false); label = new Label(sinfo.get_caps ().to_string ()); label.set_ellipsize (Pango.EllipsizeMode.END); @@ -265,6 +274,15 @@ public class MediaInfo.Info : VBox table.attach (label, 0, 2, row, row+1, fill_exp, 0, 0, 1); row++; + label = new Label ("Codec:"); + label.set_alignment (1.0f, 0.5f); + table.attach (label, 0, 1, row, row+1, fill, 0, 0, 0); + str = pb_utils_get_codec_description( sinfo.get_caps ()); + label = new Label (str); + label.set_alignment (0.0f, 0.5f); + table.attach (label, 1, 2, row, row+1, fill_exp, 0, 3, 1); + row++; + label = new Label ("Bitrate:"); label.set_alignment (1.0f, 0.5f); table.attach (label, 0, 1, row, row+1, fill, 0, 0, 0);