[libbluray-devel] Disable logging of BD-J PTS events
tourettes
git at videolan.org
Tue Nov 18 22:02:57 CET 2014
libbluray | branch: master | tourettes <tourettes at team-mediaportal.com> | Thu Jan 23 19:11:57 2014 +0200| [0d7b0c18fd9ef0e057bcb60b593782ddca10f779] | committer: hpi1
Disable logging of BD-J PTS events
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=0d7b0c18fd9ef0e057bcb60b593782ddca10f779
---
src/libbluray/bdj/bdj.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
index 2c0bd1d..746d3c1 100644
--- a/src/libbluray/bdj/bdj.c
+++ b/src/libbluray/bdj/bdj.c
@@ -605,7 +605,10 @@ int bdj_process_event(BDJAVA *bdjava, unsigned ev, unsigned param)
return -1;
}
- BD_DEBUG(DBG_BDJ, "bdj_process_event(%s,%d)\n", ev_name[ev], param);
+ // Disable too verbose logging (PTS)
+ if (ev != BDJ_EVENT_PTS) {
+ BD_DEBUG(DBG_BDJ, "bdj_process_event(%s,%d)\n", ev_name[ev], param);
+ }
if ((*bdjava->jvm)->GetEnv(bdjava->jvm, (void**)&env, JNI_VERSION_1_4) != JNI_OK) {
(*bdjava->jvm)->AttachCurrentThread(bdjava->jvm, (void**)&env, NULL);
More information about the libbluray-devel
mailing list