Suppressing Debug Info

This forum is about all development around libVLC.
syaik
New Cone
New Cone
Posts: 3
Joined: 10 Aug 2009 03:21

Suppressing Debug Info

Postby syaik » 10 Aug 2009 03:31

Is there some sort of flag I need to define at compile time of my program in order to suppress debug info? I've been looking through the API and the headers in /usr/include/vlc and haven't come up with much. Thanks.

Basically, I would like to be able to suppress the following from being output when I start my program, which uses libvlc:

Code: Select all

[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--enable-maintainer-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=2ubuntu1' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-mediacontrol-bindings' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-libdca' '--enable-realrtsp' '--disable-dv' '--enable-x264' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' [00000001] main libvlc debug: translation test: code is "C"

syaik
New Cone
New Cone
Posts: 3
Joined: 10 Aug 2009 03:21

Re: Suppressing Debug Info

Postby syaik » 10 Aug 2009 04:10

On taking a second look, I noticed that this info occurs just when I run vlc. Am I correct in assuming that this implies that the vlc package (Ubuntu 9.04) I'm using was compiled with debug info, which means I'll need to fetch a fresh copy?

Thanks!

kryptonite
Blank Cone
Blank Cone
Posts: 52
Joined: 22 May 2009 12:01

Re: Suppressing Debug Info

Postby kryptonite » 10 Aug 2009 08:51

Are you using the "-vvv" option while running vlc? This makes it highly verbose.

syaik
New Cone
New Cone
Posts: 3
Joined: 10 Aug 2009 03:21

Re: Suppressing Debug Info

Postby syaik » 10 Aug 2009 12:45

I am not. Here's are the arguments I'm passing into libvlc_new():

Code: Select all

const char* const vlc_args[] = { "-I", "dummy", // Don't use any interface "--ignore-config", // Don't use VLC's config "--quiet", "-v 0", };

Rémi Denis-Courmont
Developer
Developer
Posts: 15228
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Suppressing Debug Info

Postby Rémi Denis-Courmont » 10 Aug 2009 17:05

This is a known bug in the 0.9 series. Please update to 1.0.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests