catch Warning event

This forum is about all development around libVLC.
morz
New Cone
New Cone
Posts: 4
Joined: 22 Mar 2010 04:46

catch Warning event

Postby morz » 22 Mar 2010 06:04

How do I get warning (ONLY not error) event in libvlc? Example of warning event that I want :
[092fa724] avcodec decoder warning: cannot decode one frame (745 bytes)
[092968ac] faad decoder warning: Maximum number of bitstream elements exceeded

void MainWindow::callback( const libvlc_event_t *ev, void *param )
{
// I want warning event here
}

libvlc_event_attach( em, what_to_pass_here? ,callback, NULL, &_vlcexcep );

Thanks you.

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests