From d8a33d0e2516597b8a337ad65a9c9526d07fed28 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sat, 13 Dec 2003 01:53:48 +0000 Subject: set dvdcss verbosity according to xine's one CVS patchset: 5901 CVS date: 2003/12/13 01:53:48 --- src/input/input_dvd.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c index d8726a98b..34ed91460 100644 --- a/src/input/input_dvd.c +++ b/src/input/input_dvd.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_dvd.c,v 1.176 2003/12/07 15:34:30 f1rmb Exp $ + * $Id: input_dvd.c,v 1.177 2003/12/13 01:53:48 f1rmb Exp $ * */ @@ -1682,6 +1682,12 @@ static void *init_class (xine_t *xine, void *data) { xine_setenv("DVDCSS_CACHE", css_cache, 0); free(css_cache_default); + + if(xine->verbosity > XINE_VERBOSITY_NONE) + xine_setenv("DVDCSS_VERBOSE", "2", 0); + else + xine_setenv("DVDCSS_VERBOSE", "0", 0); + dlclose(dvdcss); } @@ -1728,6 +1734,9 @@ static void *init_class (xine_t *xine, void *data) { /* * $Log: input_dvd.c,v $ + * Revision 1.177 2003/12/13 01:53:48 f1rmb + * set dvdcss verbosity according to xine's one + * * Revision 1.176 2003/12/07 15:34:30 f1rmb * get rid of XINE_{ASSERT,ABORT} and useless xine_print_trace (useless). Replace XINE_ASSERT by _x_assert, which works exaclty as assert, except that it still warns with NDEBUG defined (but don't abort). Fix missuning of assert(0), which isn't safe, abort is abort, assert is for debugging purpose only, so all assert(0) has been converted to abort() alls. In osd_preload_fonts(): alloc needed memory chunk. Define NDEBUG in CFLAGS, for non DEBUG build only. * -- cgit v1.2.3