[libbluray-devel] Print still mode and time in clip info

hpi1 git at videolan.org
Thu Jun 2 13:40:26 CEST 2011


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Jun  2 14:38:59 2011 +0300| [71cb9d6d59cd21f27b863d730a218ec19c2650cf] | committer: hpi1

Print still mode and time in clip info

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=71cb9d6d59cd21f27b863d730a218ec19c2650cf
---

 src/examples/mpls_dump.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/examples/mpls_dump.c b/src/examples/mpls_dump.c
index d9ed8d8..e1206e8 100644
--- a/src/examples/mpls_dump.c
+++ b/src/examples/mpls_dump.c
@@ -215,6 +215,12 @@ _show_details(MPLS_PL *pl, int level)
                         pi->connection_condition);
         indent_printf(level+1, "In-Time: %d", pi->in_time);
         indent_printf(level+1, "Out-Time: %d", pi->out_time);
+        if (pi->still_mode == 1) {
+            indent_printf(level+1, "Still time: %ds\n", pi->still_time);
+        }
+        if (pi->still_mode == 2) {
+            indent_printf(level+1, "Still time: infinite\n");
+        }
         if (pi->angle_count > 1) {
             for (jj = 1; jj < pi->angle_count; jj++) {
                 indent_printf(level+1, "Angle %d:", jj);



More information about the libbluray-devel mailing list