[gst-devel] osxvideosink embed in application
htonal
htonal at wanadoo.fr
Sat Jun 13 22:09:54 CEST 2009
Thank you for your answer.
I wonder if
- the message should be posted to the "osxvideosink" or "pipeline"
element and if
- the "embed" property should be set to TRUE to ensure the display in
the NSOpenGLView.
I also wonder if this question is not too stupid.
Today i had both NSWindow & NSOpenGLView subclasses created with code,
but i think it's also possible to instanciate with Interface Builder.
To prevent the UI to freeze while in the GMainLoop and to keep a way to
stop it in case of a continuous source (test or video) should i run it
within an NSThread ?
Hugues
> On Tue, Jun 9, 2009 at 4:52 AM, htonal <htonal at wanadoo.fr> wrote:
>> hello, i dont know if its the right list, but id like to know if anyone
>> here has succeeded in using the osxvideosink element in a pipeline
>> within an application written in objective-c, built with xcode on osx ?
>> If not, where else could i find help ?
>> Thank you
>
> I don't use xcode, but I have written objective-c code to embed an
> osxvideosink window; it's not too hard.
>
> You need to get the have-ns-view element message on the bus; this
> tells you the NSView of the video; you can then reparent that view to
> any part of your application.
>
> Mike
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
More information about the gstreamer-devel
mailing list