<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have -I (as in India) on the command line when I launch VLC, and I know for sure that minimal_macosx is being used. I'm just not sure what is meant by passing an object that implements the VLCOpenGLVoutEmbedding protocol.<div><br></div><div>He says to pass an object that implements the VLCOpenGLVoutEmbedding protocol, but I don't see any classes that do. Maybe I need to make one or modify one, but I have no idea.</div><div><br></div><div>One thing that bothers me, is that there is a function in VLCOpenGLViewView.m called cocoaglvoutviewInit() that calls a method called "<span class="Apple-style-span" style="font-family: Monaco; font-size: 10px; ">autoinitOpenGLVoutViewIntVoutWithContainer". <span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; ">I don't think that method is being called because I set a breakpoint in <span class="Apple-style-span" style="font-family: Monaco; font-size: 10px; ">autoinitOpenGLVoutViewIntVoutWithContainer </span>,</span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-size: medium;"> </span><span class="Apple-style-span" style="font-size: medium;">b</span><span class="Apple-style-span" style="font-size: medium;">u</span><span class="Apple-style-span" style="font-size: medium;">t</span><span class="Apple-style-span" style="font-size: medium;"> </span><span class="Apple-style-span" style="font-size: medium;">m</span><span class="Apple-style-span" style="font-size: medium;">y</span><span class="Apple-style-span" style="font-size: medium;"> </span><span class="Apple-style-span" style="font-size: medium;">d</span><span class="Apple-style-span" style="font-size: medium;">e</span><span class="Apple-style-span" style="font-size: medium;">b</span><span class="Apple-style-span" style="font-size: medium;">u</span><span class="Apple-style-span" style="font-size: medium;">g</span><span class="Apple-style-span" style="font-size: medium;">g</span><span class="Apple-style-span" style="font-size: medium;">e</span><span class="Apple-style-span" style="font-size: medium;">r</span><span class="Apple-style-span" style="font-size: medium;"> </span><span class="Apple-style-span" style="font-size: medium;">d</span><span class="Apple-style-span" style="font-size: medium;">o</span><span class="Apple-style-span" style="font-size: medium;">e</span><span class="Apple-style-span" style="font-size: medium;">s</span><span class="Apple-style-span" style="font-size: medium;"> </span><span class="Apple-style-span" style="font-size: medium;">n</span><span class="Apple-style-span" style="font-size: medium;">o</span><span class="Apple-style-span" style="font-size: medium;">t</span><span class="Apple-style-span" style="font-size: medium;"> </span><span class="Apple-style-span" style="font-size: medium;">s</span><span class="Apple-style-span" style="font-size: medium;">t</span><span class="Apple-style-span" style="font-size: medium;">o</span><span class="Apple-style-span" style="font-size: medium;">p</span><span class="Apple-style-span" style="font-size: medium;"> </span><span class="Apple-style-span" style="font-size: medium;">a</span><span class="Apple-style-span" style="font-size: medium;">t</span><span class="Apple-style-span" style="font-size: medium;"> </span><span class="Apple-style-span" style="font-size: medium;">t</span><span class="Apple-style-span" style="font-size: medium;">h</span><span class="Apple-style-span" style="font-size: medium;">e</span><span class="Apple-style-span" style="font-size: medium;"> </span><span class="Apple-style-span" style="font-size: medium;">b</span><span class="Apple-style-span" style="font-size: medium;">r</span><span class="Apple-style-span" style="font-size: medium;">e</span><span class="Apple-style-span" style="font-size: medium;">a</span><span class="Apple-style-span" style="font-size: medium;">k</span><span class="Apple-style-span" style="font-size: medium;">p</span><span class="Apple-style-span" style="font-size: medium;">o</span><span class="Apple-style-span" style="font-size: medium;">i</span><span class="Apple-style-span" style="font-size: medium;">n</span><span class="Apple-style-span" style="font-size: medium;">t</span><span class="Apple-style-span" style="font-size: medium;">.</span></span></span></div><div><br></div><div>-greg-</div><div><div><div> </div><div><br></div><div>On Aug 10, 2009, at 6:17 PM, Andre-John Mas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>I think that was meant to be -I (as in India), judging from Pierre's e-mail.<br><br>On 10-Aug-2009, at 21:05, Greg Wishart wrote:<br><br><blockquote type="cite">Hi Pierre;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Is this "-l minimal_macosx" a command-line parameter to VLC?<br></blockquote><blockquote type="cite">What do you mean by "pass an object"? I don't understand what object you mean and where I pass it.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I did remove the "macosx" module, and add "-l minimal_macosx" to the command line. The debugger shows that minimal_macosx is definitely being loaded and used, but I still don't see any video in my app.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-greg-<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Aug 10, 2009, at 4:06 PM, Pierre d'Herbemont wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On Aug 11, 2009, at 12:37 AM, Greg Wishart wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hello, I need some help getting VLC to play video on OSX. I have built version 0.9.10 and it runs fine by itself, but not the way I need it to. I'm working on a program that uses VLC to play video in one of MY windows instead of a window that VLC creates. Our technique works fine on Windows, but on OSX, we just hear the audio... no video.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Our app starts by looking for an instance of VLC running. If not found, it launch an instance. When it launches, it loads a module we have built that replaces the regular user interface with something that simply listens for commands from our player (start, stop, pause, etc) and displays some debug output. When our player app (which uses wxWidgets) sends a command to VLC to play a file, one of the parameters is a window handle of the window that the video is to be played in. This sets the "drawable" variable which is supposed to display video on OUR window but we never see it.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I can supply some code examples, but for now, does anyone have any idea on what might be wrong? This technique works great on the Windows version... I'm using version 0.9.10<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Have a look at what projects/macosx/framework is doing. This should work.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">In a few words, you have to use "-I minimal_macosx" and pass an object that implements the protocol VLCOpenGLVoutEmbedding defined in modules/gui/minimal_macosx/VLCOpenGLVoutView.h<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Pierre.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">vlc-devel mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">To unsubscribe or modify your subscription options:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://mailman.videolan.org/listinfo/vlc-devel">http://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">vlc-devel mailing list<br></blockquote><blockquote type="cite">To unsubscribe or modify your subscription options:<br></blockquote><blockquote type="cite"><a href="http://mailman.videolan.org/listinfo/vlc-devel">http://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote><blockquote type="cite"><br></blockquote><br>_______________________________________________<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="http://mailman.videolan.org/listinfo/vlc-devel">http://mailman.videolan.org/listinfo/vlc-devel</a><br><br></div></blockquote></div><br></div></body></html>