[libbluray-devel] [Git][videolan/libbluray][master] hdmv_test: Initialize debug mask

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Mon Oct 27 08:28:53 UTC 2025



Jean-Baptiste Kempf pushed to branch master at VideoLAN / libbluray


Commits:
6155d651 by arch1t3cht at 2025-10-27T09:24:04+01:00
hdmv_test: Initialize debug mask

Otherwise the bd_get_debug_mask() call below will return (uint32_t)-1,
so that the -v flag will not actually do anything.

- - - - -


1 changed file:

- src/devtools/hdmv_test.c


Changes:

=====================================
src/devtools/hdmv_test.c
=====================================
@@ -188,6 +188,7 @@ int main(int argc, char *argv[])
         printf("Requested title %d\n", title);
     }
 
+    bd_set_debug_mask(DBG_CRIT);
     if (verbose) {
         printf("Enabling verbose debug\n");
         bd_set_debug_mask(bd_get_debug_mask() | DBG_HDMV | DBG_BLURAY);



View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/6155d6512d21ff9b19ee8ad9cb6a53bfccdd85a5

-- 
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/6155d6512d21ff9b19ee8ad9cb6a53bfccdd85a5
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the libbluray-devel mailing list