1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>autovideosink: GStreamer Good Plugins 1.0 Plugins Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Good Plugins 1.0 Plugins Reference Manual"> 8<link rel="up" href="ch01.html" title="gst-plugins-good Elements"> 9<link rel="prev" href="gst-plugins-good-plugins-autoaudiosrc.html" title="autoaudiosrc"> 10<link rel="next" href="gst-plugins-good-plugins-autovideosrc.html" title="autovideosrc"> 11<meta name="generator" content="GTK-Doc V1.28 (XML mode)"> 12<link rel="stylesheet" href="style.css" type="text/css"> 13</head> 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="5"><tr valign="middle"> 16<td width="100%" align="left" class="shortcuts"> 17<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 18 <a href="#gst-plugins-good-plugins-autovideosink.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 19 <a href="#gst-plugins-good-plugins-autovideosink.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span> 20 <a href="#gst-plugins-good-plugins-autovideosink.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span> 21 <a href="#gst-plugins-good-plugins-autovideosink.properties" class="shortcut">Properties</a></span> 22</td> 23<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 24<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 25<td><a accesskey="p" href="gst-plugins-good-plugins-autoaudiosrc.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 26<td><a accesskey="n" href="gst-plugins-good-plugins-autovideosrc.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 27</tr></table> 28<div class="refentry"> 29<a name="gst-plugins-good-plugins-autovideosink"></a><div class="titlepage"></div> 30<div class="refnamediv"><table width="100%"><tr> 31<td valign="top"> 32<h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-autovideosink.top_of_page"></a>autovideosink</span></h2> 33<p>autovideosink</p> 34</td> 35<td class="gallery_image" valign="top" align="right"></td> 36</tr></table></div> 37<div class="refsect1"> 38<a name="gst-plugins-good-plugins-autovideosink.properties"></a><h2>Properties</h2> 39<div class="informaltable"><table class="informaltable" border="0"> 40<colgroup> 41<col width="150px" class="properties_type"> 42<col width="300px" class="properties_name"> 43<col width="200px" class="properties_flags"> 44</colgroup> 45<tbody> 46<tr> 47<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td> 48<td class="property_name"><a class="link" href="gst-plugins-good-plugins-autovideosink.html#GstAutoVideoSink--ts-offset" title="The “ts-offset” property">ts-offset</a></td> 49<td class="property_flags">Read / Write</td> 50</tr> 51<tr> 52<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 53<td class="property_name"><a class="link" href="gst-plugins-good-plugins-autovideosink.html#GstAutoVideoSink--sync" title="The “sync” property">sync</a></td> 54<td class="property_flags">Read / Write</td> 55</tr> 56</tbody> 57</table></div> 58</div> 59<a name="GstAutoVideoSink"></a><div class="refsect1"> 60<a name="gst-plugins-good-plugins-autovideosink.other"></a><h2>Types and Values</h2> 61<div class="informaltable"><table class="informaltable" width="100%" border="0"> 62<colgroup> 63<col width="150px" class="name"> 64<col class="description"> 65</colgroup> 66<tbody><tr> 67<td class="datatype_keyword"> </td> 68<td class="function_name"><a class="link" href="gst-plugins-good-plugins-autovideosink.html#GstAutoVideoSink-struct" title="GstAutoVideoSink">GstAutoVideoSink</a></td> 69</tr></tbody> 70</table></div> 71</div> 72<div class="refsect1"> 73<a name="gst-plugins-good-plugins-autovideosink.object-hierarchy"></a><h2>Object Hierarchy</h2> 74<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> 75 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> 76 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a> 77 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a> 78 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBin.html#GstBin-struct">GstBin</a> 79 <span class="lineart">╰──</span> GstAutoDetect 80 <span class="lineart">╰──</span> GstAutoVideoSink 81</pre> 82</div> 83<div class="refsect1"> 84<a name="gst-plugins-good-plugins-autovideosink.implemented-interfaces"></a><h2>Implemented Interfaces</h2> 85<p> 86GstAutoVideoSink implements 87 <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstChildProxy.html#GstChildProxy-struct">GstChildProxy</a>.</p> 88</div> 89<div class="refsect1"> 90<a name="gst-plugins-good-plugins-autovideosink.description"></a><h2>Description</h2> 91<p>autovideosink is a video sink that automatically detects an appropriate 92video sink to use. It does so by scanning the registry for all elements 93that have <span class="quote">“<span class="quote">Sink</span>”</span> and <span class="quote">“<span class="quote">Video</span>”</span> in the class field 94of their element information, and also have a non-zero autoplugging rank.</p> 95<div class="refsect2"> 96<a name="id-1.2.31.8.3"></a><h3>Example launch line</h3> 97<div class="informalexample"> 98 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 99 <tbody> 100 <tr> 101 <td class="listing_lines" align="right"><pre>1</pre></td> 102 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> <span class="gtkdoc opt">-</span>v <span class="gtkdoc opt">-</span>m videotestsrc <span class="gtkdoc opt">!</span> autovideosink</pre></td> 103 </tr> 104 </tbody> 105 </table> 106</div> 107 108</div> 109<div class="refsynopsisdiv"> 110<h2>Synopsis</h2> 111<div class="refsect2"> 112<a name="id-1.2.31.8.4.1"></a><h3>Element Information</h3> 113<div class="variablelist"><table border="0" class="variablelist"> 114<colgroup> 115<col align="left" valign="top"> 116<col> 117</colgroup> 118<tbody> 119<tr> 120<td><p><span class="term">plugin</span></p></td> 121<td> 122 <a class="link" href="gst-plugins-good-plugins-plugin-autodetect.html#plugin-autodetect">autodetect</a> 123 </td> 124</tr> 125<tr> 126<td><p><span class="term">author</span></p></td> 127<td>Jan Schmidt <thaytan@noraisin.net></td> 128</tr> 129<tr> 130<td><p><span class="term">class</span></p></td> 131<td>Sink/Video</td> 132</tr> 133</tbody> 134</table></div> 135</div> 136<hr> 137<div class="refsect2"> 138<a name="id-1.2.31.8.4.2"></a><h3>Element Pads</h3> 139<div class="variablelist"><table border="0" class="variablelist"> 140<colgroup> 141<col align="left" valign="top"> 142<col> 143</colgroup> 144<tbody> 145<tr> 146<td><p><span class="term">name</span></p></td> 147<td>sink</td> 148</tr> 149<tr> 150<td><p><span class="term">direction</span></p></td> 151<td>sink</td> 152</tr> 153<tr> 154<td><p><span class="term">presence</span></p></td> 155<td>always</td> 156</tr> 157<tr> 158<td><p><span class="term">details</span></p></td> 159<td>ANY</td> 160</tr> 161</tbody> 162</table></div> 163</div> 164</div> 165</div> 166<div class="refsect1"> 167<a name="gst-plugins-good-plugins-autovideosink.functions_details"></a><h2>Functions</h2> 168<p></p> 169</div> 170<div class="refsect1"> 171<a name="gst-plugins-good-plugins-autovideosink.other_details"></a><h2>Types and Values</h2> 172<div class="refsect2"> 173<a name="GstAutoVideoSink-struct"></a><h3>GstAutoVideoSink</h3> 174<pre class="programlisting">typedef struct _GstAutoVideoSink GstAutoVideoSink;</pre> 175</div> 176</div> 177<div class="refsect1"> 178<a name="gst-plugins-good-plugins-autovideosink.property-details"></a><h2>Property Details</h2> 179<div class="refsect2"> 180<a name="GstAutoVideoSink--ts-offset"></a><h3>The <code class="literal">“ts-offset”</code> property</h3> 181<pre class="programlisting"> “ts-offset” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre> 182<p>Timestamp offset in nanoseconds.</p> 183<p>Flags: Read / Write</p> 184<p>Default value: 0</p> 185</div> 186<hr> 187<div class="refsect2"> 188<a name="GstAutoVideoSink--sync"></a><h3>The <code class="literal">“sync”</code> property</h3> 189<pre class="programlisting"> “sync” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 190<p>Sync on the clock.</p> 191<p>Flags: Read / Write</p> 192<p>Default value: TRUE</p> 193</div> 194</div> 195<div class="refsect1"> 196<a name="gst-plugins-good-plugins-autovideosink.see-also"></a><h2>See Also</h2> 197<p>autoaudiosink, ximagesink, xvimagesink, sdlvideosink</p> 198</div> 199</div> 200<div class="footer"> 201<hr>Generated by GTK-Doc V1.28</div> 202</body> 203</html>