This file is indexed.

/usr/share/gtk-doc/html/ges-0.10/GESTimelinePipeline.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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GESTimelinePipeline</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="ch06.html" title="Convenience classes">
<link rel="prev" href="ch06.html" title="Convenience classes">
<link rel="next" href="GESCustomTimelineSource.html" title="GESCustomTimelineSource">
<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="ch06.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch06.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="GESCustomTimelineSource.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GESTimelinePipeline.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GESTimelinePipeline.description" class="shortcut">Description</a>
                   | 
                  <a href="#GESTimelinePipeline.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GESTimelinePipeline.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
</td></tr>
</table>
<div class="refentry">
<a name="GESTimelinePipeline"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GESTimelinePipeline.top_of_page"></a>GESTimelinePipeline</span></h2>
<p>GESTimelinePipeline — Convenience <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstPipeline.html"><span class="type">GstPipeline</span></a> for editing.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GESTimelinePipeline.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;ges/ges.h&gt;

                    <a class="link" href="GESTimelinePipeline.html#GESTimelinePipeline-struct" title="GESTimelinePipeline">GESTimelinePipeline</a>;
enum                <a class="link" href="GESTimelinePipeline.html#GESPipelineFlags" title="enum GESPipelineFlags">GESPipelineFlags</a>;
<a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="returnvalue">GESTimelinePipeline</span></a> *  <a class="link" href="GESTimelinePipeline.html#ges-timeline-pipeline-new" title="ges_timeline_pipeline_new ()">ges_timeline_pipeline_new</a>        (<em class="parameter"><code><span class="type">void</span></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="GESTimelinePipeline.html#ges-timeline-pipeline-add-timeline" title="ges_timeline_pipeline_add_timeline ()">ges_timeline_pipeline_add_timeline</a>  (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *pipeline</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GESTimeline.html" title="GESTimeline"><span class="type">GESTimeline</span></a> *timeline</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="GESTimelinePipeline.html#ges-timeline-pipeline-set-mode" title="ges_timeline_pipeline_set_mode ()">ges_timeline_pipeline_set_mode</a>      (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *pipeline</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GESTimelinePipeline.html#GESPipelineFlags" title="enum GESPipelineFlags"><span class="type">GESPipelineFlags</span></a> mode</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="GESTimelinePipeline.html#ges-timeline-pipeline-set-render-settings" title="ges_timeline_pipeline_set_render_settings ()">ges_timeline_pipeline_set_render_settings</a>
                                                        (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *pipeline</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *output_uri</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-0.10/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a> *profile</code></em>);
<a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> *         <a class="link" href="GESTimelinePipeline.html#ges-timeline-pipeline-get-thumbnail-buffer" title="ges_timeline_pipeline_get_thumbnail_buffer ()">ges_timeline_pipeline_get_thumbnail_buffer</a>
                                                        (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *self</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/gstreamer-0.10/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> *         <a class="link" href="GESTimelinePipeline.html#ges-timeline-pipeline-get-thumbnail-rgb24" title="ges_timeline_pipeline_get_thumbnail_rgb24 ()">ges_timeline_pipeline_get_thumbnail_rgb24</a>
                                                        (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *self</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</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="GESTimelinePipeline.html#ges-timeline-pipeline-save-thumbnail" title="ges_timeline_pipeline_save_thumbnail ()">ges_timeline_pipeline_save_thumbnail</a>
                                                        (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *self</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> width</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> height</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *location</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GESTimelinePipeline.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>
                     +----<a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstPipeline.html">GstPipeline</a>
                           +----GESTimelinePipeline
</pre>
</div>
<div class="refsect1">
<a name="GESTimelinePipeline.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GESTimelinePipeline implements
 <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstChildProxy.html">GstChildProxy</a>.</p>
</div>
<div class="refsect1">
<a name="GESTimelinePipeline.description"></a><h2>Description</h2>
<p>
<a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> allows developers to view and render <a class="link" href="GESTimeline.html" title="GESTimeline"><span class="type">GESTimeline</span></a>
in a simple fashion.
Its usage is inspired by the 'playbin' element from gst-plugins-base.
</p>
</div>
<div class="refsect1">
<a name="GESTimelinePipeline.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GESTimelinePipeline-struct"></a><h3>GESTimelinePipeline</h3>
<pre class="programlisting">typedef struct _GESTimelinePipeline GESTimelinePipeline;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GESPipelineFlags"></a><h3>enum GESPipelineFlags</h3>
<pre class="programlisting">typedef enum {
  TIMELINE_MODE_PREVIEW_AUDIO = 1 &lt;&lt; 0,
  TIMELINE_MODE_PREVIEW_VIDEO = 1 &lt;&lt; 1,
  TIMELINE_MODE_PREVIEW		= TIMELINE_MODE_PREVIEW_AUDIO | TIMELINE_MODE_PREVIEW_VIDEO,
  TIMELINE_MODE_RENDER		= 1 &lt;&lt; 2,
  TIMELINE_MODE_SMART_RENDER = 1 &lt;&lt; 3
} GESPipelineFlags;
</pre>
<p>
The various modes the <a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> can be configured to.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="TIMELINE-MODE-PREVIEW-AUDIO:CAPS"></a><span class="term"><code class="literal">TIMELINE_MODE_PREVIEW_AUDIO</code></span></p></td>
<td>output audio to the soundcard
</td>
</tr>
<tr>
<td><p><a name="TIMELINE-MODE-PREVIEW-VIDEO:CAPS"></a><span class="term"><code class="literal">TIMELINE_MODE_PREVIEW_VIDEO</code></span></p></td>
<td>output video to the screen
</td>
</tr>
<tr>
<td><p><a name="TIMELINE-MODE-PREVIEW:CAPS"></a><span class="term"><code class="literal">TIMELINE_MODE_PREVIEW</code></span></p></td>
<td>output audio/video to soundcard/screen (default)
</td>
</tr>
<tr>
<td><p><a name="TIMELINE-MODE-RENDER:CAPS"></a><span class="term"><code class="literal">TIMELINE_MODE_RENDER</code></span></p></td>
<td>render timeline (forces decoding)
</td>
</tr>
<tr>
<td><p><a name="TIMELINE-MODE-SMART-RENDER:CAPS"></a><span class="term"><code class="literal">TIMELINE_MODE_SMART_RENDER</code></span></p></td>
<td>render timeline (tries to avoid decoding/reencoding)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-pipeline-new"></a><h3>ges_timeline_pipeline_new ()</h3>
<pre class="programlisting"><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="returnvalue">GESTimelinePipeline</span></a> *  ges_timeline_pipeline_new        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new conveninence <a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a>.
</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>the new <a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-pipeline-add-timeline"></a><h3>ges_timeline_pipeline_add_timeline ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            ges_timeline_pipeline_add_timeline  (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *pipeline</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GESTimeline.html" title="GESTimeline"><span class="type">GESTimeline</span></a> *timeline</code></em>);</pre>
<p>
Sets the timeline to use in this pipeline.
</p>
<p>
The reference to the <em class="parameter"><code>timeline</code></em> will be stolen by the <em class="parameter"><code>pipeline</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>pipeline</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>timeline</code></em> :</span></p></td>
<td>the <a class="link" href="GESTimeline.html" title="GESTimeline"><span class="type">GESTimeline</span></a> to set on the <em class="parameter"><code>pipeline</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if the <em class="parameter"><code>timeline</code></em> could be successfully set on the <em class="parameter"><code>pipeline</code></em>,
else FALSE.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-pipeline-set-mode"></a><h3>ges_timeline_pipeline_set_mode ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            ges_timeline_pipeline_set_mode      (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *pipeline</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GESTimelinePipeline.html#GESPipelineFlags" title="enum GESPipelineFlags"><span class="type">GESPipelineFlags</span></a> mode</code></em>);</pre>
<p>
switches the <em class="parameter"><code>pipeline</code></em> to the specified <em class="parameter"><code>mode</code></em>. The default mode when
creating a <a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> is <a class="link" href="GESTimelinePipeline.html#TIMELINE-MODE-PREVIEW:CAPS"><span class="type">TIMELINE_MODE_PREVIEW</span></a>.
</p>
<p>
Note: The <em class="parameter"><code>pipeline</code></em> will be set to <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html#GST-STATE-NULL:CAPS"><span class="type">GST_STATE_NULL</span></a> during this call due to
the internal changes that happen. The caller will therefore have to 
set the <em class="parameter"><code>pipeline</code></em> to the requested state after calling this method.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
<td>the <a class="link" href="GESTimelinePipeline.html#GESPipelineFlags" title="enum GESPipelineFlags"><span class="type">GESPipelineFlags</span></a> to use</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"><code class="literal">TRUE</code></a> if the mode was properly set, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-pipeline-set-render-settings"></a><h3>ges_timeline_pipeline_set_render_settings ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            ges_timeline_pipeline_set_render_settings
                                                        (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *pipeline</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *output_uri</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-0.10/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a> *profile</code></em>);</pre>
<p>
Specify where the pipeline shall be rendered and with what settings.
</p>
<p>
A copy of <em class="parameter"><code>profile</code></em> and <em class="parameter"><code>output_uri</code></em> will be done internally, the caller can
safely free those values afterwards.
</p>
<p>
This method must be called before setting the pipeline mode to
<a class="link" href="GESTimelinePipeline.html#TIMELINE-MODE-RENDER:CAPS"><span class="type">TIMELINE_MODE_RENDER</span></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>output_uri</code></em> :</span></p></td>
<td>the URI to which the timeline will be rendered</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
<td>the <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-0.10/gst-plugins-base-libs-encoding-profile.html#GstEncodingProfile"><span class="type">GstEncodingProfile</span></a> to use to render the timeline.</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"><code class="literal">TRUE</code></a> if the settings were aknowledged properly, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-pipeline-get-thumbnail-buffer"></a><h3>ges_timeline_pipeline_get_thumbnail_buffer ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> *         ges_timeline_pipeline_get_thumbnail_buffer
                                                        (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *self</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>
Returns a <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> with the currently playing in the format specified by
caps. The caller should unref the <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstBuffer.html#gst-buffer-unref"><span class="type">gst_buffer_unref</span></a> when finished. If ANY
caps are specified, the information will be returned in the whatever format
is currently used by the sink. This information can be retrieve from caps
associated with the buffer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> in <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html#GST-STATE-PLAYING:CAPS"><code class="literal">GST_STATE_PLAYING</code></a> or <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html#GST-STATE-PAUSED:CAPS"><code class="literal">GST_STATE_PAUSED</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
<td>caps specifying current format. Use <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstCaps.html#GST-CAPS-ANY:CAPS"><code class="literal">GST_CAPS_ANY</code></a>
for native size. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-pipeline-get-thumbnail-rgb24"></a><h3>ges_timeline_pipeline_get_thumbnail_rgb24 ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstBuffer.html#GstBuffer"><span class="returnvalue">GstBuffer</span></a> *         ges_timeline_pipeline_get_thumbnail_rgb24
                                                        (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *self</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
<p>
A convenience method for ges_timeline_pipeline_get_thumbnail_raw which
returns a buffer in 24-bit RGB, optionally scaled to the specified width
and height. If -1 is specified for either dimension, it will be left at
native size. You can retreive this information from the caps associated
with the buffer.
</p>
<p>
The caller is responsible for unreffing the returned buffer with
<a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstBuffer.html#gst-buffer-unref"><span class="type">gst_buffer_unref</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> in <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html#GST-STATE-PLAYING:CAPS"><code class="literal">GST_STATE_PLAYING</code></a> or <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html#GST-STATE-PAUSED:CAPS"><code class="literal">GST_STATE_PAUSED</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
<td>the requested width or -1 for native size</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
<td>the requested height or -1 for native size</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-pipeline-save-thumbnail"></a><h3>ges_timeline_pipeline_save_thumbnail ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            ges_timeline_pipeline_save_thumbnail
                                                        (<em class="parameter"><code><a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> *self</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> width</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> height</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *location</code></em>);</pre>
<p>
Saves the current frame to the specified <em class="parameter"><code>location</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelinePipeline.html" title="GESTimelinePipeline"><span class="type">GESTimelinePipeline</span></a> in <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html#GST-STATE-PLAYING:CAPS"><code class="literal">GST_STATE_PLAYING</code></a> or <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html#GST-STATE-PAUSED:CAPS"><code class="literal">GST_STATE_PAUSED</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
<td>the requested width or -1 for native size</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
<td>the requested height or -1 for native size</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
<td>a string specifying the desired mime type (for example,
image/jpeg)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td>
<td>the path to save the thumbnail</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"><code class="literal">TRUE</code></a> if the thumbnail was properly save, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.17</div>
</body>
</html>