<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
hi<br>
<br>
i had the same problem with my app, it s now fixed with the nsview
added in pygtk 2.24, don t know for wxwidget...But now i have a bus
error when trying to play a video with osxvideosink... i posted 1 week
ago on this list but my post is still pending ...<br>
<br>
good luck...<br>
<br>
thanks<br>
<br>
Antoine Martin a écrit :
<blockquote cite="mid:4DAC1E89.9040203@nagafix.co.uk" type="cite">
<pre wrap="">On 06/23/2010 06:01 PM, Farkas Levente wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 06/23/2010 12:27 PM, Philippe Normand wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Sun, 2010-06-13 at 07:30 -0700, Thomas Loewe wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
as i understand the latest osxvideosink now supports the xoverlay interface
and i can set the output window via gst_x_overlay_set_xwindow_id().
My app (based on wxwidgets) is running fine on windows and linux, but on osx
i dont know how to get the window id to redirect the video to my own window.
Is there any example how to do this on osx?
Thank you,
Thomas
</pre>
</blockquote>
<pre wrap="">The osxvideosink sends a pointer to a NSView to the application via a
message containing a have-ns-view structure, small snippet:
if (gst_structure_has_name(message->structure, "have-ns-view")) {
videoWindow =(NSView*)
g_value_get_pointer(gst_structure_get_value(message->structure,
"nsview"));
Then you can map the NSView to a NSWindow and show it. The message needs
to be handled synchronously by the application.
If you want a complete example, Alessandro (twi_ on IRC) told me he has
one written in Python :)
</pre>
</blockquote>
<pre wrap="">if possible i also like to get that complete example:-)
</pre>
</blockquote>
<pre wrap=""><!---->+1
On Linux and Windows, I simply use:
gst.parse_launch(" .. ! .. ! ..")
Does this mean that it won't work for osxvideosink now?
Will I have to construct the pipeline manually and link the pads, etc
Really? Ouch. :(
Thanks
Antoine
</pre>
<blockquote type="cite">
<pre wrap="">thanks in advance.
regards.
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>