1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>sdlvideosink</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GStreamer Bad Plugins 0.10 Plugins Reference Manual">
8 <link rel="up" href="ch01.html" title="gst-plugins-bad Elements">
9 <link rel="prev" href="gst-plugins-bad-plugins-sdlaudiosink.html" title="sdlaudiosink">
10 <link rel="next" href="gst-plugins-bad-plugins-shmsink.html" title="shmsink">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17 <td><a accesskey="p" href="gst-plugins-bad-plugins-sdlaudiosink.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GStreamer Bad Plugins 0.10 Plugins Reference Manual</th>
21 <td><a accesskey="n" href="gst-plugins-bad-plugins-shmsink.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-bad-plugins-sdlvideosink.synopsis" class="shortcut">Top</a>
26 <a href="#gst-plugins-bad-plugins-sdlvideosink.description" class="shortcut">Description</a>
28 <a href="#gst-plugins-bad-plugins-sdlvideosink.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
30 <a href="#gst-plugins-bad-plugins-sdlvideosink.properties" class="shortcut">Properties</a>
33 <div class="refentry">
34 <a name="gst-plugins-bad-plugins-sdlvideosink"></a><div class="titlepage"></div>
35 <div class="refnamediv"><table width="100%"><tr>
37 <h2><span class="refentrytitle"><a name="gst-plugins-bad-plugins-sdlvideosink.top_of_page"></a>sdlvideosink</span></h2>
38 <p>sdlvideosink — An SDL-based videosink</p>
40 <td valign="top" align="right"></td>
42 <div class="refsynopsisdiv">
43 <a name="gst-plugins-bad-plugins-sdlvideosink.synopsis"></a><h2>Synopsis</h2>
44 <pre class="synopsis">struct <a class="link" href="gst-plugins-bad-plugins-sdlvideosink.html#GstSDLVideoSink" title="struct GstSDLVideoSink">GstSDLVideoSink</a>;
47 <div class="refsect1">
48 <a name="gst-plugins-bad-plugins-sdlvideosink.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
50 GstSDLVideoSink implements
51 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstImplementsInterface.html">GstImplementsInterface</a>, <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstxoverlay.html#GstXOverlay">GstXOverlay</a> and <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstnavigation.html#GstNavigation">GstNavigation</a>.</p>
53 <div class="refsect1">
54 <a name="gst-plugins-bad-plugins-sdlvideosink.properties"></a><h2>Properties</h2>
55 <pre class="synopsis">
56 "<a class="link" href="gst-plugins-bad-plugins-sdlvideosink.html#GstSDLVideoSink--fullscreen" title='The "fullscreen" property'>fullscreen</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
59 <div class="refsect1">
60 <a name="gst-plugins-bad-plugins-sdlvideosink.description"></a><h2>Description</h2>
61 <div class="refsynopsisdiv">
63 <div class="refsect2">
64 <a name="idp20260160"></a><h3>Element Information</h3>
65 <div class="variablelist"><table border="0">
66 <col align="left" valign="top">
69 <td><p><span class="term">plugin</span></p></td>
71 <a class="link" href="gst-plugins-bad-plugins-plugin-sdl.html#plugin-sdl">sdl</a>
75 <td><p><span class="term">author</span></p></td>
76 <td>Ronald Bultje <rbultje@ronald.bitfreak.net>, Edgard Lima <edgard.lima@indt.org.br>, Jan Schmidt <thaytan@mad.scientist.com></td>
79 <td><p><span class="term">class</span></p></td>
86 <div class="refsect2">
87 <a name="idp20651008"></a><h3>Element Pads</h3>
88 <div class="variablelist"><table border="0">
89 <col align="left" valign="top">
92 <td><p><span class="term">name</span></p></td>
96 <td><p><span class="term">direction</span></p></td>
100 <td><p><span class="term">presence</span></p></td>
104 <td><p><span class="term">details</span></p></td>
105 <td>video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 100/1 ]</td>
108 <td><p><span class="term"></span></p></td>
109 <td> video/x-raw-yuv, format=(fourcc)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 100/1 ]</td>
112 <td><p><span class="term"></span></p></td>
113 <td> video/x-raw-yuv, format=(fourcc)YUY2, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 100/1 ]</td>
116 <td><p><span class="term"></span></p></td>
117 <td> video/x-raw-yuv, format=(fourcc)YVYU, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 100/1 ]</td>
120 <td><p><span class="term"></span></p></td>
121 <td> video/x-raw-yuv, format=(fourcc)UYVY, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 100/1 ]</td>
130 <div class="refsect1">
131 <a name="gst-plugins-bad-plugins-sdlvideosink.details"></a><h2>Details</h2>
132 <div class="refsect2">
133 <a name="GstSDLVideoSink"></a><h3>struct GstSDLVideoSink</h3>
134 <pre class="programlisting">struct GstSDLVideoSink {
135 GstVideoSink videosink;
137 guint32 format; /* the SDL format */
138 guint32 fourcc; /* our fourcc from the caps */
140 gint width, height; /* the size of the incoming YUV stream */
141 unsigned long xwindow_id;
142 gboolean is_xwindows;
147 gboolean full_screen;
150 GThread *event_thread;
152 SDL_Overlay *overlay;
162 <div class="refsect1">
163 <a name="gst-plugins-bad-plugins-sdlvideosink.property-details"></a><h2>Property Details</h2>
164 <div class="refsect2">
165 <a name="GstSDLVideoSink--fullscreen"></a><h3>The <code class="literal">"fullscreen"</code> property</h3>
166 <pre class="programlisting"> "fullscreen" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
167 <p>If true it will be Full screen.</p>
168 <p>Default value: FALSE</p>
174 Generated by GTK-Doc V1.18</div>