[libbluray-devel] list_titles: show also playlist

hpi1 git at videolan.org
Fri Jan 11 21:32:58 CET 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Jan 11 22:22:31 2013 +0200| [22a7921ef275f8a83b7d0123545750297d2aee99] | committer: hpi1

list_titles: show also playlist

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

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

diff --git a/src/examples/list_titles.c b/src/examples/list_titles.c
index 8c7cb8f..fa38dd4 100644
--- a/src/examples/list_titles.c
+++ b/src/examples/list_titles.c
@@ -87,12 +87,12 @@ int main(int argc, char *argv[])
         BLURAY_TITLE_INFO* ti;
         ti = bd_get_title_info(bd, ii, 0);
         printf(
-       "index: %d duration: %02"PRIu64":%02"PRIu64":%02"PRIu64" chapters: %d angles: %u clips %u\n",
+       "index: %d duration: %02"PRIu64":%02"PRIu64":%02"PRIu64" chapters: %d angles: %u clips: %u (playlist: %05d.mpls)\n",
               ii + 1,
               (ti->duration / 90000) / (3600),
               ((ti->duration / 90000) % 3600) / 60,
               ((ti->duration / 90000) % 60),
-              ti->chapter_count, ti->angle_count, ti->clip_count
+              ti->chapter_count, ti->angle_count, ti->clip_count, ti->playlist
         );
         bd_free_title_info(ti);
     }



More information about the libbluray-devel mailing list