[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-devel
Subject: Re: [gst-devel] gstWin32 gst_directdraw_sink_set_window_id question
From: "Sebastien Moutte" <sebastien () moutte ! net>
Date: 2007-05-25 11:03:04
Message-ID: 039801c79ebc$451f2de0$cf5d89a0$ () net
[Download RAW message or body]
This is a multipart message in MIME format.
[Attachment #2 (multipart/alternative)]
This is a multipart message in MIME format.
Hi,
You have to use the X overlay interface by doing the followings :
+ include <gst/interfaces/xoverlay.h>
+ add libgstinterfaces-0.10.lib to your link list
+ call gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (directdrawsink
_pointer), your_video_window_handle);
Seb
From: gstreamer-devel-bounces@lists.sourceforge.net
[mailto:gstreamer-devel-bounces@lists.sourceforge.net] On Behalf Of Riccardo
Corona
Sent: vendredi 25 mai 2007 11:48
To: gstreamer-devel@lists.sourceforge.net
Subject: [gst-devel] gstWin32 gst_directdraw_sink_set_window_id question
Hi,
can someone tell me how to get the "GstXOverlay * overlay" parameter nedeed
into the function:
gst_directdraw_sink_set_window_id (GstXOverlay * overlay, ULONG window_id)
Of the directdrawsink element for gstwin32?
I need it the set my personal window rather than the default one of gst.
Thank's.
--
Riccardo Corona
[Attachment #5 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You have to use the X overlay interface by doing the followings
> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> + include \
<gst/interfaces/xoverlay.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>+ add libgstinterfaces-0.10.lib to your link \
list<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>+ call gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (directdrawsink
_pointer), your_video_window_handle);<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Seb<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> \
gstreamer-devel-bounces@lists.sourceforge.net \
[mailto:gstreamer-devel-bounces@lists.sourceforge.net] <b>On Behalf Of </b>Riccardo \
Corona<br> <b>Sent:</b> vendredi 25 mai 2007 11:48<br>
<b>To:</b> gstreamer-devel@lists.sourceforge.net<br>
<b>Subject:</b> [gst-devel] gstWin32 gst_directdraw_sink_set_window_id \
question<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>Hi,<br>
can someone tell me how to get the <span style='font-family:"Courier \
New"'>"</span>GstXOverlay
* overlay" parameter nedeed into the function:<o:p></o:p></p>
<pre style='margin-bottom:12.0pt'>gst_directdraw_sink_set_window_id (GstXOverlay * \
overlay, ULONG window_id)<o:p></o:p></pre>
<p class=MsoNormal>Of the directdrawsink element for gstwin32?<br>
I need it the set my personal window rather than the default one of gst.<br>
Thank's. <br>
-- <br>
Riccardo Corona <o:p></o:p></p>
</div>
</body>
</html>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic