[gst-devel] osxvideosink embed in application

Michael Smith msmith at xiph.org
Sun Jun 14 02:40:16 CEST 2009

On Sat, Jun 13, 2009 at 1:09 PM, htonal<htonal at wanadoo.fr> wrote:
> Thank you for your answer.
> I wonder if
> - the message should be posted to the "osxvideosink" or "pipeline"
> element and if

It's posted _by_ the osxvideosink element.

> - the "embed" property should be set to TRUE to ensure the display in
> the NSOpenGLView.

The embed property isn't used in current versions of osxvideosink.

> 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 ?

You don't _need_ to run a gmainloop at all to use gstreamer - you can
get bus messages in other ways.


More information about the gstreamer-devel mailing list