[libbluray-devel] Do not use BD_DEBUG() in list_titles

hpi1 git at videolan.org
Wed Oct 9 11:44:31 CEST 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Oct  9 11:10:01 2013 +0300| [485bb68a79dc4f891866334b3b718ac1f22d3436] | committer: hpi1

Do not use BD_DEBUG() in list_titles

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

 src/examples/Makefile.am   |    2 +-
 src/examples/list_titles.c |    3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
index 42369ab..bad8499 100644
--- a/src/examples/Makefile.am
+++ b/src/examples/Makefile.am
@@ -76,7 +76,7 @@ hdmv_test_SOURCES = \
 hdmv_test_LDADD = $(BLURAY_LIB)
 
 list_titles_SOURCES = \
-	list_titles.c ../util/logging.c
+	list_titles.c
 
 list_titles_LDADD = $(BLURAY_LIB)
 
diff --git a/src/examples/list_titles.c b/src/examples/list_titles.c
index 9dca300..e3c53af 100644
--- a/src/examples/list_titles.c
+++ b/src/examples/list_titles.c
@@ -22,7 +22,6 @@
 #endif
 
 #include "libbluray/bluray.h"
-#include "util/logging.h"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -52,8 +51,6 @@ int main(int argc, char *argv[])
     unsigned int flags = TITLES_RELEVANT;
     char *bd_dir = NULL;
 
-    BD_DEBUG(DBG_BLURAY,"\nListing titles:\n");
-
     do
     {
         opt = getopt(argc, argv, OPTS);



More information about the libbluray-devel mailing list