<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>gstreamermm: Gst::VideoSink Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGst.html">Gst</a>::<a class="el" href="classGst_1_1VideoSink.html">VideoSink</a> </div> </div> <div class="contents"> <h1>Gst::VideoSink Class Reference<br/> <small> [<a class="el" href="group__GstBaseClasses.html">gstreamermm Base Classes</a>]</small> </h1><!-- doxytag: class="Gst::VideoSink" --><!-- doxytag: inherits="Gst::BaseSink" --> <p><a class="el" href="classGst_1_1VideoSink.html" title="Gst::VideoSink - Base class for video sinks.">Gst::VideoSink</a> - Base class for video sinks. <a href="#_details">More...</a></p> <p>Inherits <a class="el" href="classGst_1_1BaseSink.html">Gst::BaseSink</a>.</p> <p>Inherited by <a class="el" href="classGst_1_1XImageSink.html">Gst::XImageSink</a>, and <a class="el" href="classGst_1_1XvImageSink.html">Gst::XvImageSink</a>.</p> <div class="dynheader"> Collaboration diagram for Gst::VideoSink:</div> <div class="dynsection"> <div class="center"><img src="classGst_1_1VideoSink__coll__graph.png" border="0" usemap="#Gst_1_1VideoSink_coll__map" alt="Collaboration graph"/></div> <map name="Gst_1_1VideoSink_coll__map" id="Gst_1_1VideoSink_coll__map"> <area shape="rect" href="classGst_1_1BaseSink.html" title="Gst::BaseSink - Base class for sink elements." alt="" coords="12,392,119,421"/><area shape="rect" href="classGst_1_1Element.html" title="Gst::Element - Abstract base class for all pipeline elements." alt="" coords="16,315,115,344"/><area shape="rect" href="classGst_1_1Object.html" title="Gst::Object - Base class for the GStreamer object hierarchy." alt="" coords="21,237,109,267"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGst_1_1VideoSink-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1VideoSink.html#a0d274e3e232991bc637cec88ba574859">~VideoSink</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GstVideoSink* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1VideoSink.html#aa7b0b833c1ec7e49ef974a7265236710">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aa7b0b833c1ec7e49ef974a7265236710"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GstVideoSink* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1VideoSink.html#ae2c5b6ceb0f5911fa989db1a46bfd667">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ae2c5b6ceb0f5911fa989db1a46bfd667"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GstVideoSink* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1VideoSink.html#a82a3576157c9e5d8151077a4ed62c174">gobj_copy</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a82a3576157c9e5d8151077a4ed62c174"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1VideoSink.html#aa0bd53edc83afdbc515fc5c2af45f00a">get_height</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get height of <a class="el" href="classGst_1_1VideoSink.html" title="Gst::VideoSink - Base class for video sinks.">Gst::VideoSink</a>. <a href="#aa0bd53edc83afdbc515fc5c2af45f00a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1VideoSink.html#ab016325ea14cae3c46ae84316b0dea95">get_width</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get width of <a class="el" href="classGst_1_1VideoSink.html" title="Gst::VideoSink - Base class for video sinks.">Gst::VideoSink</a>. <a href="#ab016325ea14cae3c46ae84316b0dea95"></a><br/></td></tr> <tr><td colspan="2"><h2>Related Functions</h2></td></tr> <tr><td colspan="2"><p>(Note that these are not member functions.) </p> <br/><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGst_1_1VideoSink.html">Gst::VideoSink</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1VideoSink.html#a8189bd1f2f742f461f5c7a37eb20ad14">wrap</a> (GstVideoSink* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a8189bd1f2f742f461f5c7a37eb20ad14"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="classGst_1_1VideoSink.html" title="Gst::VideoSink - Base class for video sinks.">Gst::VideoSink</a> - Base class for video sinks. </p> <p>Provides useful functions and a base class for video sinks.</p> <p><a class="el" href="classGst_1_1VideoSink.html" title="Gst::VideoSink - Base class for video sinks.">Gst::VideoSink</a> will configure the default base sink to drop frames that arrive later than 20ms as this is considered the default threshold for observing out-of-sync frames. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a0d274e3e232991bc637cec88ba574859"></a><!-- doxytag: member="Gst::VideoSink::~VideoSink" ref="a0d274e3e232991bc637cec88ba574859" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gst::VideoSink::~VideoSink </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aa0bd53edc83afdbc515fc5c2af45f00a"></a><!-- doxytag: member="Gst::VideoSink::get_height" ref="aa0bd53edc83afdbc515fc5c2af45f00a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gst::VideoSink::get_height </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Get height of <a class="el" href="classGst_1_1VideoSink.html" title="Gst::VideoSink - Base class for video sinks.">Gst::VideoSink</a>. </p> </div> </div> <a class="anchor" id="ab016325ea14cae3c46ae84316b0dea95"></a><!-- doxytag: member="Gst::VideoSink::get_width" ref="ab016325ea14cae3c46ae84316b0dea95" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gst::VideoSink::get_width </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Get width of <a class="el" href="classGst_1_1VideoSink.html" title="Gst::VideoSink - Base class for video sinks.">Gst::VideoSink</a>. </p> </div> </div> <a class="anchor" id="ae2c5b6ceb0f5911fa989db1a46bfd667"></a><!-- doxytag: member="Gst::VideoSink::gobj" ref="ae2c5b6ceb0f5911fa989db1a46bfd667" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GstVideoSink* Gst::VideoSink::gobj </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="el" href="classGst_1_1BaseSink.html#a21f064b53bb5df50f219809584459a07">Gst::BaseSink</a>.</p> <p>Reimplemented in <a class="el" href="classGst_1_1XImageSink.html#a0116a958dffad1e999e37f9881e66ae8">Gst::XImageSink</a>, and <a class="el" href="classGst_1_1XvImageSink.html#a64c355226d6a554a95bbcb098ba0c486">Gst::XvImageSink</a>.</p> </div> </div> <a class="anchor" id="aa7b0b833c1ec7e49ef974a7265236710"></a><!-- doxytag: member="Gst::VideoSink::gobj" ref="aa7b0b833c1ec7e49ef974a7265236710" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GstVideoSink* Gst::VideoSink::gobj </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="el" href="classGst_1_1BaseSink.html#a3d57005a386c93cc2d2fe034ac5d97a0">Gst::BaseSink</a>.</p> <p>Reimplemented in <a class="el" href="classGst_1_1XImageSink.html#ad8cef78951240a673c1f9d9b8bb1928f">Gst::XImageSink</a>, and <a class="el" href="classGst_1_1XvImageSink.html#a02718e655cab456f9b607a6ad76c7dc8">Gst::XvImageSink</a>.</p> </div> </div> <a class="anchor" id="a82a3576157c9e5d8151077a4ed62c174"></a><!-- doxytag: member="Gst::VideoSink::gobj_copy" ref="a82a3576157c9e5d8151077a4ed62c174" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GstVideoSink* Gst::VideoSink::gobj_copy </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p> <p>Reimplemented from <a class="el" href="classGst_1_1BaseSink.html#ae4422284b28d6fad3a3e890af118b102">Gst::BaseSink</a>.</p> <p>Reimplemented in <a class="el" href="classGst_1_1XImageSink.html#a5ab8158486e92583ed44fe749d4b7c8e">Gst::XImageSink</a>, and <a class="el" href="classGst_1_1XvImageSink.html#af9381a27528abfda1652a447f8a99f4e">Gst::XvImageSink</a>.</p> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a8189bd1f2f742f461f5c7a37eb20ad14"></a><!-- doxytag: member="Gst::VideoSink::wrap" ref="a8189bd1f2f742f461f5c7a37eb20ad14" args="(GstVideoSink *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGst_1_1VideoSink.html">Gst::VideoSink</a> > wrap </td> <td>(</td> <td class="paramtype">GstVideoSink * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gstreamermm/videosink.h</li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Sep 21 22:33:02 2009 for gstreamermm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>