<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=koi8-r" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hello,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Please help me with a littel question.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I try write my own player app usig libvlc, qt and 
run it on MacOS</FONT></DIV>
<DIV><FONT size=2 face=Arial>All is fine, but I have assert in 
messages.c:342</FONT> <FONT size=2 face=Arial>on p_this..</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>If I use Caca renderer - all works, but if i use 
opengl - assert.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>As sample, I use Barrys branch with qt 
mediacenter.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>it's my args:</FONT></DIV>
<DIV><FONT size=2 face=Arial>    const char * const vlc_args[] = 
{<BR>              
//"-I", "macosx", /* Don't use any interface 
*/<BR>              
//"--ignore-config", /* Don't use VLC's config 
*/<BR>              
//"--extraintf=logger", //log 
anything<BR>              
"--verbose=2", //be much more verbose then normal for debugging 
purpose<BR>              
"--no-audio",<BR>              
"--no-stats",<BR>              
"--no-media-library",<BR>              
"--ignore-config",<BR>              
"--intf=qt4",<BR>              
"--no-video-title-show",<BR>              
"-V", 
"caca",<BR>              
//"-V", 
"opengl",<BR>              
//"--opengl",<BR>              
"--plugin-path=/Projects/vlc/VLC.app/Contents/MacOS/modules"<BR>          
};<BR></FONT><FONT size=2 face=Arial></FONT></DIV>
<DIV><FONT size=2 face=Arial>here simple player workflow..</FONT></DIV>
<DIV><FONT size=2 face=Arial> </DIV></FONT>
<DIV><FONT size=2 face=Arial>    
libvlc_exception_init(&_vlcexcep);<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>    
_vlcinstance=libvlc_new(sizeof(vlc_args) / sizeof(vlc_args[0]), 
vlc_args,&_vlcexcep);  //tricky calculation of the char space 
used<BR></DIV></FONT>
<DIV><FONT size=2 face=Arial>    _mp = libvlc_media_player_new 
(_vlcinstance, &_vlcexcep);</FONT></DIV><FONT size=2 face=Arial>
<DIV><BR>    _m = libvlc_media_new (_vlcinstance, file.toAscii(), 
&_vlcexcep);</DIV>
<DIV><BR>     libvlc_media_player_set_media (_mp, _m, 
&_vlcexcep);<BR></DIV></FONT>
<DIV><FONT size=2 face=Arial>      
libvlc_media_player_set_drawable(_mp, _videoWidget->winId(), &_vlcexcep 
);</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>    libvlc_media_player_play (_mp, 
&_vlcexcep );<BR>...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>when play started, opengl widnow appeared 
(hmm, I think it will use widget window for render..) and stop with 
assert.</FONT></DIV>
<DIV><FONT size=2 face=Arial> </DIV>
<DIV>What wrong ?</DIV>
<DIV> </DIV>
<DIV>Thanks in advance,</DIV>
<DIV>Max.</DIV>
<DIV></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV></BODY></HTML>