[gst-devel] osxvideosink embed in application

Michael Smith msmith at xiph.org
Tue Jun 9 18:01:59 CEST 2009


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




More information about the gstreamer-devel mailing list