This file is indexed.

/usr/share/gtk-doc/html/ges-1.0/GESClip.html is in libges-1.0-doc 1.14.0-1.

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
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GESClip: GStreamer Editing Services 1.14.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GStreamer Editing Services 1.14.0 Reference Manual">
<link rel="up" href="ch02.html" title="Base Classes">
<link rel="prev" href="GESContainer.html" title="GESContainer">
<link rel="next" href="GESSourceClip.html" title="GESSourceClip">
<meta name="generator" content="GTK-Doc V1.27 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GESClip.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GESClip.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#GESClip.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GESClip.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GESContainer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GESSourceClip.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GESClip"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GESClip.top_of_page"></a>GESClip</span></h2>
<p>GESClip — Base Class for objects in a GESLayer</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GESClip.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="returnvalue">GESTrackElement</span></a> *
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="GESClip.html#GESCreateTrackElementFunc" title="GESCreateTrackElementFunc ()">*GESCreateTrackElementFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="GESClip.html#GESCreateTrackElementsFunc" title="GESCreateTrackElementsFunc ()">*GESCreateTrackElementsFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="GESClip.html#GESFillTrackElementFunc" title="GESFillTrackElementFunc ()">*GESFillTrackElementFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GESLayer.html" title="GESLayer"><span class="returnvalue">GESLayer</span></a> *
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-get-layer" title="ges_clip_get_layer ()">ges_clip_get_layer</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="returnvalue">GESTrackElement</span></a> *
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-find-track-element" title="ges_clip_find_track_element ()">ges_clip_find_track_element</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-find-track-elements" title="ges_clip_find_track_elements ()">ges_clip_find_track_elements</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="returnvalue">GESTrackElement</span></a> *
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-add-asset" title="ges_clip_add_asset ()">ges_clip_add_asset</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-get-top-effects" title="ges_clip_get_top_effects ()">ges_clip_get_top_effects</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-get-top-effect-index" title="ges_clip_get_top_effect_index ()">ges_clip_get_top_effect_index</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-set-top-effect-index" title="ges_clip_set_top_effect_index ()">ges_clip_set_top_effect_index</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-get-top-effect-position" title="ges_clip_get_top_effect_position ()">ges_clip_get_top_effect_position</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-set-top-effect-priority" title="ges_clip_set_top_effect_priority ()">ges_clip_set_top_effect_priority</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-move-to-layer" title="ges_clip_move_to_layer ()">ges_clip_move_to_layer</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-set-supported-formats" title="ges_clip_set_supported_formats ()">ges_clip_set_supported_formats</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="returnvalue">GESTrackType</span></a>
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-get-supported-formats" title="ges_clip_get_supported_formats ()">ges_clip_get_supported_formats</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GESClip.html" title="GESClip"><span class="returnvalue">GESClip</span></a> *
</td>
<td class="function_name">
<a class="link" href="GESClip.html#ges-clip-split" title="ges_clip_split ()">ges_clip_split</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GESClip.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *</td>
<td class="property_name"><a class="link" href="GESClip.html#GESClip--layer" title="The “layer” property">layer</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a></td>
<td class="property_name"><a class="link" href="GESClip.html#GESClip--supported-formats" title="The “supported-formats” property">supported-formats</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GESClip.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GESClip.html#GESClip-struct" title="GESClip">GESClip</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GESClip.html#GESClipClass" title="GESClipClass">GESClipClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GESClip.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
        <span class="lineart">╰──</span> <a class="link" href="GESTimelineElement.html" title="GESTimelineElement">GESTimelineElement</a>
            <span class="lineart">╰──</span> <a class="link" href="GESContainer.html" title="GESContainer">GESContainer</a>
                <span class="lineart">╰──</span> GESClip
                    <span class="lineart">├──</span> <a class="link" href="GESOperationClip.html" title="GESOperationClip">GESOperationClip</a>
                    <span class="lineart">╰──</span> <a class="link" href="GESSourceClip.html" title="GESSourceClip">GESSourceClip</a>
</pre>
</div>
<div class="refsect1">
<a name="GESClip.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GESClip implements
 <a class="link" href="ges-GESExtractableInterface.html#GESExtractable">GESExtractable</a> and  <a class="link" href="GESMetaContainer.html" title="GESMetaContainer">GESMetaContainer</a>.</p>
</div>
<div class="refsect1">
<a name="GESClip.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;ges/ges.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GESClip.description"></a><h2>Description</h2>
<p>A <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> is a 'natural' object which controls one or more
<a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a>(s) in one or more <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>(s).</p>
<p>Keeps a reference to the <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a>(s) it created and
sets/updates their properties.</p>
</div>
<div class="refsect1">
<a name="GESClip.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="GESCreateTrackElementFunc"></a><h3>GESCreateTrackElementFunc ()</h3>
<pre class="programlisting"><a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="returnvalue">GESTrackElement</span></a> *
<span class="c_punctuation">(</span>*GESCreateTrackElementFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                              <em class="parameter"><code><a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a> type</code></em>);</pre>
<p>Creates the 'primary' track element for this <em class="parameter"><code>clip</code></em>
.</p>
<p>Subclasses should implement this method if they only provide a
single <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> per track.</p>
<p>If the subclass needs to create more than one <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> for a
given track, then it should implement the 'create_track_elements'
method instead.</p>
<p>The implementer of this function shall return the proper <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a>
that should be controlled by <em class="parameter"><code>clip</code></em>
 for the given <em class="parameter"><code>track</code></em>
.</p>
<p>The returned <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> will be automatically added to the list
of objects controlled by the <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a>.</p>
<div class="refsect3">
<a name="GESCreateTrackElementFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a <a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GESCreateTrackElementFunc.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> to be used, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it can't provide one
for the given <em class="parameter"><code>track</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GESCreateTrackElementsFunc"></a><h3>GESCreateTrackElementsFunc ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
<span class="c_punctuation">(</span>*GESCreateTrackElementsFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                               <em class="parameter"><code><a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a> type</code></em>);</pre>
<p>Create all track elements this clip handles for this type of track.</p>
<p>Subclasses should implement this method if they potentially need to
return more than one <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a>(s) for a given <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>.</p>
<div class="refsect3">
<a name="GESCreateTrackElementsFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a <a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GESCreateTrackElementsFunc.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GESFillTrackElementFunc"></a><h3>GESFillTrackElementFunc ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="c_punctuation">(</span>*GESFillTrackElementFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                            <em class="parameter"><code><a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> *track_element</code></em>,
                            <em class="parameter"><code><a href="../gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a> *nleobj</code></em>);</pre>
<p>A function that will be called when the GNonLin object of a corresponding
track element needs to be filled.</p>
<p>The implementer of this function shall add the proper <a href="../gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a> to <em class="parameter"><code>nleobj</code></em>

using <a href="../gstreamer-1.0/GstBin.html#gst-bin-add"><code class="function">gst_bin_add()</code></a>.</p>
<div class="refsect3">
<a name="GESFillTrackElementFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>the <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> controlling the track elements</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>track_element</p></td>
<td class="parameter_description"><p>the <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>nleobj</p></td>
<td class="parameter_description"><p>the GNonLin object that needs to be filled.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GESFillTrackElementFunc.returns"></a><h4>Returns</h4>
<p> TRUE if the implementer succesfully filled the <em class="parameter"><code>nleobj</code></em>
, else <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-get-layer"></a><h3>ges_clip_get_layer ()</h3>
<pre class="programlisting"><a class="link" href="GESLayer.html" title="GESLayer"><span class="returnvalue">GESLayer</span></a> *
ges_clip_get_layer (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>);</pre>
<p>Get the <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> to which this clip belongs.</p>
<div class="refsect3">
<a name="ges-clip-get-layer.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-clip-get-layer.returns"></a><h4>Returns</h4>
<p>The <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> where this <em class="parameter"><code>clip</code></em>
is being
used, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is not used on any layer. The caller should unref it
usage. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-find-track-element"></a><h3>ges_clip_find_track_element ()</h3>
<pre class="programlisting"><a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="returnvalue">GESTrackElement</span></a> *
ges_clip_find_track_element (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                             <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 href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>);</pre>
<p>Finds the <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> controlled by <em class="parameter"><code>clip</code></em>
 that is used in <em class="parameter"><code>track</code></em>
. You
may optionally specify a GType to further narrow search criteria.</p>
<p>Note: If many objects match, then the one with the highest priority will be
returned.</p>
<div class="refsect3">
<a name="ges-clip-find-track-element.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>track</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> or NULL. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a <a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> indicating the type of track element you are looking
for or <a href="../gobject/gobject-Type-Information.html#G-TYPE-NONE:CAPS"><code class="literal">G_TYPE_NONE</code></a> if you do not care about the track type.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-clip-find-track-element.returns"></a><h4>Returns</h4>
<p>The <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> used by <em class="parameter"><code>track</code></em>
,
else <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Unref after usage. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-find-track-elements"></a><h3>ges_clip_find_track_elements ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
ges_clip_find_track_elements (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                              <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="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a> track_type</code></em>,
                              <em class="parameter"><code><a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>);</pre>
<p>Finds all the <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> controlled by <em class="parameter"><code>clip</code></em>
 that is used in <em class="parameter"><code>track</code></em>
. You
may optionally specify a GType to further narrow search criteria.</p>
<div class="refsect3">
<a name="ges-clip-find-track-elements.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>track</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> or NULL. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>track_type</p></td>
<td class="parameter_description"><p>a <a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a> indicating the type of tracks in which elements
should be searched.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a <a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> indicating the type of track element you are looking
for or <a href="../gobject/gobject-Type-Information.html#G-TYPE-NONE:CAPS"><code class="literal">G_TYPE_NONE</code></a> if you do not care about the track type.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-clip-find-track-elements.returns"></a><h4>Returns</h4>
<p>a <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of the
<a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> contained in <em class="parameter"><code>clip</code></em>
.
The refcount of the objects will be increased. The user will have to
unref each <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> and free the <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GESTrackElement]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-add-asset"></a><h3>ges_clip_add_asset ()</h3>
<pre class="programlisting"><a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="returnvalue">GESTrackElement</span></a> *
ges_clip_add_asset (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                    <em class="parameter"><code><a class="link" href="GESAsset.html" title="GESAsset"><span class="type">GESAsset</span></a> *asset</code></em>);</pre>
<p>Extracts a <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> from <em class="parameter"><code>asset</code></em>
 and adds it to the <em class="parameter"><code>clip</code></em>
.
Should only be called in order to add operations to a <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a>,
ni other cases TrackElement are added automatically when adding the
<a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a>/<a class="link" href="GESAsset.html" title="GESAsset"><span class="type">GESAsset</span></a> to a layer.</p>
<p>Takes a reference on <em class="parameter"><code>track_element</code></em>
.</p>
<div class="refsect3">
<a name="ges-clip-add-asset.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>asset</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESAsset.html" title="GESAsset"><span class="type">GESAsset</span></a> with <span class="type">GES_TYPE_TRACK_ELEMENT</span> as extractable_type</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-clip-add-asset.returns"></a><h4>Returns</h4>
<p>Created <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> or NULL
if an error happened. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-get-top-effects"></a><h3>ges_clip_get_top_effects ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
ges_clip_get_top_effects (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>);</pre>
<p>Get effects applied on <em class="parameter"><code>clip</code></em>
</p>
<div class="refsect3">
<a name="ges-clip-get-top-effects.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>The origin <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-clip-get-top-effects.returns"></a><h4>Returns</h4>
<p>a <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of the
<a class="link" href="GESBaseEffect.html" title="GESBaseEffect"><span class="type">GESBaseEffect</span></a> that are applied on <em class="parameter"><code>clip</code></em>
order by ascendant priorities.
The refcount of the objects will be increased. The user will have to
unref each <a class="link" href="GESBaseEffect.html" title="GESBaseEffect"><span class="type">GESBaseEffect</span></a> and free the <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GESTrackElement]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-get-top-effect-index"></a><h3>ges_clip_get_top_effect_index ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
ges_clip_get_top_effect_index (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                               <em class="parameter"><code><a class="link" href="GESBaseEffect.html" title="GESBaseEffect"><span class="type">GESBaseEffect</span></a> *effect</code></em>);</pre>
<p>Gets the index position of an effect.</p>
<div class="refsect3">
<a name="ges-clip-get-top-effect-index.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>The origin <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>effect</p></td>
<td class="parameter_description"><p>The <a class="link" href="GESBaseEffect.html" title="GESBaseEffect"><span class="type">GESBaseEffect</span></a> we want to get the top index from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-clip-get-top-effect-index.returns"></a><h4>Returns</h4>
<p> The top index of the effect, -1 if something went wrong.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-set-top-effect-index"></a><h3>ges_clip_set_top_effect_index ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
ges_clip_set_top_effect_index (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                               <em class="parameter"><code><a class="link" href="GESBaseEffect.html" title="GESBaseEffect"><span class="type">GESBaseEffect</span></a> *effect</code></em>,
                               <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> newindex</code></em>);</pre>
<p>This is a convenience method that lets you set the index of a top effect.</p>
<div class="refsect3">
<a name="ges-clip-set-top-effect-index.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>The origin <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>effect</p></td>
<td class="parameter_description"><p>The <a class="link" href="GESBaseEffect.html" title="GESBaseEffect"><span class="type">GESBaseEffect</span></a> to move</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>newindex</p></td>
<td class="parameter_description"><p>the new index at which to move the <em class="parameter"><code>effect</code></em>
inside this
<a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-clip-set-top-effect-index.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>effect</code></em>
was successfuly moved, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-get-top-effect-position"></a><h3>ges_clip_get_top_effect_position ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
ges_clip_get_top_effect_position (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                                  <em class="parameter"><code><a class="link" href="GESBaseEffect.html" title="GESBaseEffect"><span class="type">GESBaseEffect</span></a> *effect</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-set-top-effect-priority"></a><h3>ges_clip_set_top_effect_priority ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
ges_clip_set_top_effect_priority (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                                  <em class="parameter"><code><a class="link" href="GESBaseEffect.html" title="GESBaseEffect"><span class="type">GESBaseEffect</span></a> *effect</code></em>,
                                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> newpriority</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-move-to-layer"></a><h3>ges_clip_move_to_layer ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
ges_clip_move_to_layer (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                        <em class="parameter"><code><a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer</code></em>);</pre>
<p>Moves <em class="parameter"><code>clip</code></em>
 to <em class="parameter"><code>layer</code></em>
. If <em class="parameter"><code>clip</code></em>
 is not in any layer, it adds it to
<em class="parameter"><code>layer</code></em>
, else, it removes it from its current layer, and adds it to <em class="parameter"><code>layer</code></em>
.</p>
<div class="refsect3">
<a name="ges-clip-move-to-layer.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>the new <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-clip-move-to-layer.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>clip</code></em>
could be moved <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-set-supported-formats"></a><h3>ges_clip_set_supported_formats ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
ges_clip_set_supported_formats (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                                <em class="parameter"><code><a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a> supportedformats</code></em>);</pre>
<p>Sets the formats supported by the file.</p>
<div class="refsect3">
<a name="ges-clip-set-supported-formats.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>the <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> to set supported formats on</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>supportedformats</p></td>
<td class="parameter_description"><p>the <a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a> defining formats supported by <em class="parameter"><code>clip</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-get-supported-formats"></a><h3>ges_clip_get_supported_formats ()</h3>
<pre class="programlisting"><a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="returnvalue">GESTrackType</span></a>
ges_clip_get_supported_formats (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>);</pre>
<p>Get the formats supported by <em class="parameter"><code>clip</code></em>
.</p>
<div class="refsect3">
<a name="ges-clip-get-supported-formats.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>the <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-clip-get-supported-formats.returns"></a><h4>Returns</h4>
<p> The formats supported by <em class="parameter"><code>clip</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-clip-split"></a><h3>ges_clip_split ()</h3>
<pre class="programlisting"><a class="link" href="GESClip.html" title="GESClip"><span class="returnvalue">GESClip</span></a> *
ges_clip_split (<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>,
                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> position</code></em>);</pre>
<p>The function modifies <em class="parameter"><code>clip</code></em>
, and creates another <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> so we have two
clips at the end, splitted at the time specified by <em class="parameter"><code>position</code></em>
, as a position
in the timeline (not in the clip to be split). For example, if
ges_clip_split is called on a 4-second clip playing from 0:01.00 until
0:05.00, with a split position of 0:02.00, this will result in one clip of 1
second and one clip of 3 seconds, not in two clips of 2 seconds.</p>
<p>The newly created clip will be added to the same layer as <em class="parameter"><code>clip</code></em>
 is in. This
implies that <em class="parameter"><code>clip</code></em>
 must be in a <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> for the operation to be possible.</p>
<p>This method supports clips playing at a different tempo than one second per
second. For example, splitting a clip with a <a class="link" href="GESEffect.html" title="GESEffect"><span class="type">GESEffect</span></a> 'pitch tempo=1.5'
four seconds after it starts, will set the inpoint of the new clip to six
seconds after that of the clip to split. For this, the rate-changing
property must be registered using <em class="parameter"><code>ges_effect_class_register_rate_property</code></em>
;
for the 'pitch' plugin, this is already done.</p>
<div class="refsect3">
<a name="ges-clip-split.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>the <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> to split</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>position</p></td>
<td class="parameter_description"><p>a <a href="../gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> representing the timeline position at which to split</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-clip-split.returns"></a><h4>Returns</h4>
<p>The newly created <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> resulting
from the splitting or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the clip can't be split. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="GESClip.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GESClip-struct"></a><h3>GESClip</h3>
<pre class="programlisting">typedef struct _GESClip GESClip;</pre>
<p>The <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> base class.</p>
</div>
<hr>
<div class="refsect2">
<a name="GESClipClass"></a><h3>GESClipClass</h3>
<pre class="programlisting">typedef struct {
  GESCreateTrackElementFunc  create_track_element;
  GESCreateTrackElementsFunc create_track_elements;
} GESClipClass;
</pre>
<p>Subclasses can override the <em class="parameter"><code>create_track_element</code></em>
.</p>
<div class="refsect3">
<a name="GESClipClass.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="GESClip.html#GESCreateTrackElementFunc" title="GESCreateTrackElementFunc ()"><span class="type">GESCreateTrackElementFunc</span></a> <em class="structfield"><code><a name="GESClipClass.create-track-element"></a>create_track_element</code></em>;</p></td>
<td class="struct_member_description"><p>method to create a single <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a> for a given <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="GESClip.html#GESCreateTrackElementsFunc" title="GESCreateTrackElementsFunc ()"><span class="type">GESCreateTrackElementsFunc</span></a> <em class="structfield"><code><a name="GESClipClass.create-track-elements"></a>create_track_elements</code></em>;</p></td>
<td class="struct_member_description"><p>method to create multiple <a href="GESTrackElement.html#GESTrackElement-struct"><span class="type">GESTrackElements</span></a> for a
<a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GESClip.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GESClip--layer"></a><h3>The <code class="literal">“layer”</code> property</h3>
<pre class="programlisting">  “layer”                    <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *</pre>
<p>The GESLayer where this clip is being used. If you want to connect to its
notify signal you should connect to it with g_signal_connect_after as the
signal emission can be stop in the first fase.</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="GESClip--supported-formats"></a><h3>The <code class="literal">“supported-formats”</code> property</h3>
<pre class="programlisting">  “supported-formats”        <a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a></pre>
<p>The formats supported by the clip.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: GES_TRACK_TYPE_AUDIO | GES_TRACK_TYPE_VIDEO</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>