/usr/share/gtk-doc/html/ges-0.10/GESTrack.html is in libges-0.10-doc 0.10.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GESTrack</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GStreamer Editing Services 0.10.1 Reference Manual">
<link rel="up" href="ch02.html" title="Base Classes">
<link rel="prev" href="GESTimelineOverlay.html" title="GESTimelineOverlay">
<link rel="next" href="GESTrackObject.html" title="GESTrackObject">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GESTimelineOverlay.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GStreamer Editing Services 0.10.1 Reference Manual</th>
<td><a accesskey="n" href="GESTrackObject.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GESTrack.synopsis" class="shortcut">Top</a>
|
<a href="#GESTrack.description" class="shortcut">Description</a>
|
<a href="#GESTrack.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GESTrack.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#GESTrack.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GESTrack"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GESTrack.top_of_page"></a>GESTrack</span></h2>
<p>GESTrack — Composition of objects</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GESTrack.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <ges/ges.h>
<a class="link" href="GESTrack.html#GESTrack-struct" title="GESTrack">GESTrack</a>;
<a class="link" href="GESTrack.html" title="GESTrack"><span class="returnvalue">GESTrack</span></a> * <a class="link" href="GESTrack.html#ges-track-audio-raw-new" title="ges_track_audio_raw_new ()">ges_track_audio_raw_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="GESTrack.html" title="GESTrack"><span class="returnvalue">GESTrack</span></a> * <a class="link" href="GESTrack.html#ges-track-video-raw-new" title="ges_track_video_raw_new ()">ges_track_video_raw_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="GESTrack.html" title="GESTrack"><span class="returnvalue">GESTrack</span></a> * <a class="link" href="GESTrack.html#ges-track-new" title="ges_track_new ()">ges_track_new</a> (<em class="parameter"><code><a class="link" href="ges-GES-Enums.html#GESTrackType"><span class="type">GESTrackType</span></a> type</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GESTrack.html#ges-track-add-object" title="ges_track_add_object ()">ges_track_add_object</a> (<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>,
<em class="parameter"><code><a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> *object</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GESTrack.html#ges-track-remove-object" title="ges_track_remove_object ()">ges_track_remove_object</a> (<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>,
<em class="parameter"><code><a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> *object</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GESTrack.html#ges-track-set-caps" title="ges_track_set_caps ()">ges_track_set_caps</a> (<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);
const <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GstCaps"><span class="returnvalue">GstCaps</span></a> * <a class="link" href="GESTrack.html#ges-track-get-caps" title="ges_track_get_caps ()">ges_track_get_caps</a> (<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GESTrack.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstObject.html">GstObject</a>
+----<a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html">GstElement</a>
+----<a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstBin.html">GstBin</a>
+----GESTrack
</pre>
</div>
<div class="refsect1">
<a name="GESTrack.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GESTrack implements
<a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstChildProxy.html">GstChildProxy</a>.</p>
</div>
<div class="refsect1">
<a name="GESTrack.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GESTrack.html#GESTrack--caps" title='The "caps" property'>caps</a>" <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>* : Read / Write / Construct
"<a class="link" href="GESTrack.html#GESTrack--track-type" title='The "track-type" property'>track-type</a>" <a class="link" href="ges-GES-Enums.html#GESTrackType"><span class="type">GESTrackType</span></a> : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1">
<a name="GESTrack.description"></a><h2>Description</h2>
<p>
Corresponds to one output format (i.e. audio OR video).
</p>
<p>
Contains the compatible TrackObject(s).
</p>
<p>
Wraps GNonLin's 'gnlcomposition' element.
</p>
</div>
<div class="refsect1">
<a name="GESTrack.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GESTrack-struct"></a><h3>GESTrack</h3>
<pre class="programlisting">typedef struct {
/* READ-ONLY */
GESTrackType type;
} GESTrack;
</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><a class="link" href="ges-GES-Enums.html#GESTrackType"><span class="type">GESTrackType</span></a> <em class="structfield"><code><a name="GESTrack-struct.type"></a>type</code></em>;</span></p></td>
<td>a <a class="link" href="ges-GES-Enums.html#GESTrackType"><span class="type">GESTrackType</span></a> indicting the basic type of the track.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-track-audio-raw-new"></a><h3>ges_track_audio_raw_new ()</h3>
<pre class="programlisting"><a class="link" href="GESTrack.html" title="GESTrack"><span class="returnvalue">GESTrack</span></a> * ges_track_audio_raw_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> of type <a class="link" href="ges-GES-Enums.html#GES-TRACK-TYPE-AUDIO:CAPS"><span class="type">GES_TRACK_TYPE_AUDIO</span></a> and with generic
raw audio caps ("audio/x-raw-int;audio/x-raw-float");
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-track-video-raw-new"></a><h3>ges_track_video_raw_new ()</h3>
<pre class="programlisting"><a class="link" href="GESTrack.html" title="GESTrack"><span class="returnvalue">GESTrack</span></a> * ges_track_video_raw_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> of type <a class="link" href="ges-GES-Enums.html#GES-TRACK-TYPE-VIDEO:CAPS"><span class="type">GES_TRACK_TYPE_VIDEO</span></a> and with generic
raw video caps ("video/x-raw-yuv;video/x-raw-rgb");
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-track-new"></a><h3>ges_track_new ()</h3>
<pre class="programlisting"><a class="link" href="GESTrack.html" title="GESTrack"><span class="returnvalue">GESTrack</span></a> * ges_track_new (<em class="parameter"><code><a class="link" href="ges-GES-Enums.html#GESTrackType"><span class="type">GESTrackType</span></a> type</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
<p>
Creates a new <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> with the given <em class="parameter"><code>type</code></em> and <em class="parameter"><code>caps</code></em>.
</p>
<p>
The newly created track will steal a reference to the caps. If you wish to
use those caps elsewhere, you will have to take an extra reference.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>The type of track</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
<td>The caps to restrict the output of the track to.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-track-add-object"></a><h3>ges_track_add_object ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> ges_track_add_object (<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>,
<em class="parameter"><code><a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> *object</code></em>);</pre>
<p>
Adds the given object to the track. Sets the object's controlling track,
and thus takes ownership of the <em class="parameter"><code>object</code></em>.
</p>
<p>
An object can only be added to one track.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>track</code></em> :</span></p></td>
<td>a <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>the <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> to add. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the object was properly added. <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a> if the track does not
want to accept the object.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-track-remove-object"></a><h3>ges_track_remove_object ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> ges_track_remove_object (<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>,
<em class="parameter"><code><a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> *object</code></em>);</pre>
<p>
Removes the object from the track and unparents it.
Unparenting it means the reference owned by <em class="parameter"><code>track</code></em> on the <em class="parameter"><code>object</code></em> will be
removed. If you wish to use the <em class="parameter"><code>object</code></em> after this function, make sure you
call <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> before removing it from the <em class="parameter"><code>track</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>track</code></em> :</span></p></td>
<td>a <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>the <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> to remove</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the object was removed, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a> if the track
could not remove the object (like if it didn't belong to the track).</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-track-set-caps"></a><h3>ges_track_set_caps ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> ges_track_set_caps (<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
<p>
Sets the given <em class="parameter"><code>caps</code></em> on the track.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>track</code></em> :</span></p></td>
<td>a <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
<td>the <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> to set</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-track-get-caps"></a><h3>ges_track_get_caps ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GstCaps"><span class="returnvalue">GstCaps</span></a> * ges_track_get_caps (<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>);</pre>
<p>
Get the <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> this track is configured to output.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>track</code></em> :</span></p></td>
<td>a <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> this track is configured to output.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GESTrack.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GESTrack--caps"></a><h3>The <code class="literal">"caps"</code> property</h3>
<pre class="programlisting"> "caps" <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>* : Read / Write / Construct</pre>
<p>
Caps used to filter/choose the output stream. This is generally set to
a generic set of caps like 'video/x-raw-rgb;video/x-raw-yuv' for raw video.
</p>
<p>
Default value: <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GST-CAPS-ANY:CAPS"><span class="type">GST_CAPS_ANY</span></a>.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GESTrack--track-type"></a><h3>The <code class="literal">"track-type"</code> property</h3>
<pre class="programlisting"> "track-type" <a class="link" href="ges-GES-Enums.html#GESTrackType"><span class="type">GESTrackType</span></a> : Read / Write / Construct Only</pre>
<p>
Type of stream the track outputs. This is used when creating the <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>
to specify in generic terms what type of content will be outputted.
</p>
<p>
It also serves as a 'fast' way to check what type of data will be outputted
from the <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> without having to actually check the <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>'s caps
property.
</p>
<p>Default value: GES_TRACK_TYPE_CUSTOM</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.17</div>
</body>
</html>
|