67ee4912f1e738efe873a5244077e4f7519f4eda
[platform/upstream/gstreamer.git] / docs / gst / tmpl / gstelement.sgml
1 <!-- ##### SECTION Title ##### -->
2 GstElement
3
4 <!-- ##### SECTION Short_Description ##### -->
5 Abstract base class for all pipeline elements
6
7 <!-- ##### SECTION Long_Description ##### -->
8 <para>
9 GstElement is the base class needed to construct an element that can be
10 used in a GStreamer pipeline.  As such, it is not a functional entity, and
11 cannot do anything when placed in a pipeline.
12 </para>
13
14 <para>
15 The name of a GstElement can be get with gst_element_get_name() and set with
16 gst_element_set_name().  For speed, GST_ELEMENT_NAME() can be used in the 
17 core.
18 Do not use this in plug-ins or applications in order to retain ABI 
19 compatibility.
20 </para>
21
22 <para>
23 All elements have pads (of the type #GstPad).  These pads link to pads on
24 other elements.  Buffers flow between these linked pads.
25 A GstElement has a GList of #GstPad structures for all their input (or sink)
26 and output (or source) pads.  
27 Core and plug-in writers can add and remove pads with gst_element_add_pad()
28 and gst_element_remove_pad().
29 Application writers can manipulate ghost pads (copies of real pads inside a bin)
30 with gst_element_add_ghost_pad() and gst_element_remove_ghost_pad().
31 A pad of an element can be retrieved by name with gst_element_get_pad().
32 A GList of all pads can be retrieved with gst_element_get_pad_list().
33 </para>
34
35 <para>
36 Elements can be linked through their pads.
37 If the link is straightforward, use the gst_element_link() 
38 convenience function to link two elements, or gst_element_link_many() 
39 for more elements in a row.
40 Use gst_element_link_filtered() to link two elements constrained by
41 a specified set of #GstCaps.
42 For finer control, use gst_element_link_pads() and 
43 gst_element_link_pads_filtered() to specify the pads to link on 
44 each element by name.
45 </para>
46
47 <para>
48 Each element has a state (see #GstElementState).  You can get and set the state
49 of an element with gst_element_get_state() and gst_element_set_state().  
50 You can wait for an element to change it's state with gst_element_wait_state_change().
51 To get a string representation of a #GstElementState, use 
52 gst_element_state_get_name().
53 </para>
54
55 <para>
56 You can get and set a #GstClock on an element using gst_element_get_clock()
57 and gst_element_set_clock().  You can wait for the clock to reach a given
58 #GstClockTime using gst_element_clock_wait().
59 </para>
60
61 <!-- ##### SECTION See_Also ##### -->
62 <para>
63 #GstElementFactory, #GstPad
64 </para>
65
66 <!-- basic object functions -->
67
68 <!-- ##### STRUCT GstElementDetails ##### -->
69 <para>
70 This struct is used to define public information about the element.  It
71 describes the element, mostly for the benefit of editors.
72 </para>
73
74 @longname: 
75 @klass: 
76 @description: 
77 @author: 
78 @_gst_reserved: 
79
80 <!-- ##### MACRO GST_ELEMENT_DETAILS ##### -->
81 <para>
82
83 </para>
84
85 @longname: 
86 @klass: 
87 @description: 
88 @author: 
89
90
91 <!-- ##### MACRO GST_IS_ELEMENT_DETAILS ##### -->
92 <para>
93
94 </para>
95
96 @details: 
97
98
99 <!-- ##### MACRO GST_NUM_STATES ##### -->
100 <para>
101 The maximun number of states.
102 </para>
103
104
105
106 <!-- ##### MACRO GST_STATE ##### -->
107 <para>
108 This macro returns the current state of the element.
109 </para>
110
111 @obj: Element to return state for.
112
113
114 <!-- ##### MACRO GST_STATE_PENDING ##### -->
115 <para>
116 This macro returns the currently pending state of the element.
117 </para>
118
119 @obj: Element to return the pending state for.
120
121
122 <!-- ##### MACRO GST_STATE_TRANSITION ##### -->
123 <para>
124 Returns the state transition this object is going through.
125 </para>
126
127 @obj: the Element to return the state transition for
128
129
130 <!-- ##### MACRO GST_STATE_NULL_TO_READY ##### -->
131 <para>
132 The Element is going from the NULL state to the READY state.
133 </para>
134
135
136
137 <!-- ##### MACRO GST_STATE_READY_TO_PAUSED ##### -->
138 <para>
139 The Element is going from the READY state to the PAUSED state.
140 </para>
141
142
143
144 <!-- ##### MACRO GST_STATE_PAUSED_TO_PLAYING ##### -->
145 <para>
146 The Element is going from the PAUSED state to the PLAYING state.
147 </para>
148
149
150
151 <!-- ##### MACRO GST_STATE_PLAYING_TO_PAUSED ##### -->
152 <para>
153 The Element is going from the PLAYING state to the PAUSED state.
154 </para>
155
156
157
158 <!-- ##### MACRO GST_STATE_PAUSED_TO_READY ##### -->
159 <para>
160 The Element is going from the PAUSED state to the READY state.
161 </para>
162
163
164
165 <!-- ##### MACRO GST_STATE_READY_TO_NULL ##### -->
166 <para>
167 The Element is going from the READY state to the NULL state.
168 </para>
169
170
171
172 <!-- ##### MACRO GST_ELEMENT_CLASS ##### -->
173 <para>
174
175 </para>
176
177 @klass: 
178
179
180 <!-- ##### MACRO GST_ELEMENT_QUERY_TYPE_FUNCTION ##### -->
181 <para>
182 Helper macro to create query type functions
183 </para>
184
185 @functionname: The function name
186 @...: list of query types.
187
188
189 <!-- ##### MACRO GST_ELEMENT_FORMATS_FUNCTION ##### -->
190 <para>
191 Halper macro to create element format functions
192 </para>
193
194 @functionname: The function name
195 @...: formats
196
197
198 <!-- ##### MACRO GST_ELEMENT_EVENT_MASK_FUNCTION ##### -->
199 <para>
200 A helper macro to create a mask function
201 </para>
202
203 @functionname: the name of the mask function
204 @...: Masks
205
206
207 <!-- ##### ENUM GstElementFlags ##### -->
208 <para>
209 This enum defines the standard flags that an element may have.
210 </para>
211
212 @GST_ELEMENT_COMPLEX: 
213 @GST_ELEMENT_DECOUPLED: 
214 @GST_ELEMENT_THREAD_SUGGESTED: 
215 @GST_ELEMENT_INFINITE_LOOP: 
216 @GST_ELEMENT_NEW_LOOPFUNC: 
217 @GST_ELEMENT_EVENT_AWARE: 
218 @GST_ELEMENT_USE_THREADSAFE_PROPERTIES: 
219 @GST_ELEMENT_SCHEDULER_PRIVATE1: 
220 @GST_ELEMENT_SCHEDULER_PRIVATE2: 
221 @GST_ELEMENT_LOCKED_STATE: 
222 @GST_ELEMENT_IN_ERROR: 
223 @GST_ELEMENT_FLAG_LAST: 
224
225 <!-- ##### MACRO GST_ELEMENT_IS_THREAD_SUGGESTED ##### -->
226 <para>
227 Queries whether the Element should be placed in a thread.
228 </para>
229
230 @obj: a #GstElement to query
231
232
233 <!-- ##### MACRO GST_ELEMENT_IS_EVENT_AWARE ##### -->
234 <para>
235 Query wether this element can handle events.
236 </para>
237
238 @obj: a #GstElement to query
239
240
241 <!-- ##### MACRO GST_ELEMENT_IS_DECOUPLED ##### -->
242 <para>
243 Queries if the Element is decoupled.
244 </para>
245
246 @obj: a #GstElement to query
247
248
249 <!-- ##### MACRO GST_ELEMENT_NAME ##### -->
250 <para>
251 Gets the name of this element.  Used in the core.  Not ABI-compatible.
252 </para>
253
254 @obj: A #GstElement to query
255
256
257 <!-- ##### MACRO GST_ELEMENT_PARENT ##### -->
258 <para>
259 Get the parent object of this element.
260 </para>
261
262 @obj: a #GstElement to query
263
264
265 <!-- ##### MACRO GST_ELEMENT_MANAGER ##### -->
266 <para>
267 Get the manager of this element.
268 </para>
269
270 @obj: a #GstElement to query
271
272
273 <!-- ##### MACRO GST_ELEMENT_SCHED ##### -->
274 <para>
275 Get the scheduler of this element.
276 </para>
277
278 @obj: a #GstElement to query
279
280
281 <!-- ##### MACRO GST_ELEMENT_CLOCK ##### -->
282 <para>
283 Get the clock of this element
284 </para>
285
286 @obj: a #GstElement to query
287
288
289 <!-- ##### MACRO GST_ELEMENT_PADS ##### -->
290 <para>
291 Get the pads of this elements.
292 </para>
293
294 @obj: a #GstElement to query
295
296
297 <!-- ##### MACRO GST_ELEMENT_ERROR ##### -->
298 <para>
299
300 </para>
301
302 @el: 
303 @domain: 
304 @code: 
305 @message: 
306 @debug: 
307
308
309 <!-- ##### USER_FUNCTION GstElementLoopFunction ##### -->
310 <para>
311 This function type is used to specify a loop function for the element.  It
312 is passed the element in question, and is expect to return only in error
313 circumstances.
314 </para>
315
316 @element: The element in question.
317
318
319 <!-- ##### USER_FUNCTION GstElementPreRunFunction ##### -->
320 <para>
321 The signature of the function to execute after this element
322 is scheduled.
323 </para>
324
325 @element: The element
326
327
328 <!-- ##### USER_FUNCTION GstElementPostRunFunction ##### -->
329 <para>
330 The signature of the function to execute before this element
331 is scheduled.
332 </para>
333
334 @element: The element
335
336
337 <!-- ##### FUNCTION gst_element_class_add_pad_template ##### -->
338 <para>
339
340 </para>
341
342 @klass: 
343 @templ: 
344
345
346 <!-- ##### FUNCTION gst_element_class_install_std_props ##### -->
347 <para>
348
349 </para>
350
351 @klass: 
352 @first_name: 
353 @Varargs: 
354
355
356 <!-- ##### FUNCTION gst_element_class_set_details ##### -->
357 <para>
358
359 </para>
360
361 @klass: 
362 @details: 
363
364
365 <!-- ##### MACRO gst_element_default_deep_notify ##### -->
366 <para>
367 The default deep notify handler that prints out the property change
368 notifications to stdout.
369 </para>
370
371
372
373 <!-- ##### FUNCTION gst_element_default_error ##### -->
374 <para>
375
376 </para>
377
378 @object: 
379 @orig: 
380 @error: 
381 @debug: 
382
383
384 <!-- ##### FUNCTION gst_element_set_loop_function ##### -->
385 <para>
386
387 </para>
388
389 @element: 
390 @loop: 
391
392
393 <!-- ##### MACRO gst_element_get_name ##### -->
394 <para>
395 Gets the name of the element.
396 </para>
397
398 @elem: 
399 @Returns: the name of the element.
400
401
402 <!-- link -->
403
404
405 <!-- ##### MACRO gst_element_set_name ##### -->
406 <para>
407 Sets the name of the element, getting rid of the old name if there was one.
408 </para>
409
410 @elem: a #GstElement to set the name of.
411 @name: the new name of the element.
412
413
414 <!-- ##### MACRO gst_element_get_parent ##### -->
415 <para>
416 Gets the parent of an element.
417 </para>
418
419 @elem: a #GstElement to get the parent of.
420 @Returns: the #GstObject parent of the element.
421
422
423 <!-- ##### MACRO gst_element_set_parent ##### -->
424 <para>
425 Sets the parent of an element.
426 </para>
427
428 @elem: a #GstElement to set the parent of.
429 @parent:  the new #GstObject parent of the object.
430
431
432 <!-- ##### FUNCTION gst_element_set ##### -->
433 <para>
434
435 </para>
436
437 @element: 
438 @first_property_name: 
439 @Varargs: 
440
441
442 <!-- ##### FUNCTION gst_element_get ##### -->
443 <para>
444
445 </para>
446
447 @element: 
448 @first_property_name: 
449 @Varargs: 
450
451
452 <!-- ##### FUNCTION gst_element_set_valist ##### -->
453 <para>
454
455 </para>
456
457 @element: 
458 @first_property_name: 
459 @var_args: 
460
461
462 <!-- ##### FUNCTION gst_element_get_valist ##### -->
463 <para>
464
465 </para>
466
467 @element: 
468 @first_property_name: 
469 @var_args: 
470
471
472 <!-- ##### FUNCTION gst_element_set_property ##### -->
473 <para>
474
475 </para>
476
477 @element: 
478 @property_name: 
479 @value: 
480
481
482 <!-- ##### FUNCTION gst_element_get_property ##### -->
483 <para>
484
485 </para>
486
487 @element: 
488 @property_name: 
489 @value: 
490
491
492 <!-- ##### FUNCTION gst_element_enable_threadsafe_properties ##### -->
493 <para>
494
495 </para>
496
497 @element: 
498
499
500 <!-- ##### FUNCTION gst_element_disable_threadsafe_properties ##### -->
501 <para>
502
503 </para>
504
505 @element: 
506
507
508 <!-- ##### FUNCTION gst_element_set_pending_properties ##### -->
509 <para>
510
511 </para>
512
513 @element: 
514
515
516 <!-- ##### FUNCTION gst_element_requires_clock ##### -->
517 <para>
518
519 </para>
520
521 @element: 
522 @Returns: 
523
524
525 <!-- ##### FUNCTION gst_element_provides_clock ##### -->
526 <para>
527
528 </para>
529
530 @element: 
531 @Returns: 
532
533
534 <!-- ##### FUNCTION gst_element_get_clock ##### -->
535 <para>
536
537 </para>
538
539 @element: 
540 @Returns: 
541
542
543 <!-- ##### FUNCTION gst_element_set_clock ##### -->
544 <para>
545
546 </para>
547
548 @element: 
549 @clock: 
550
551
552 <!-- ##### FUNCTION gst_element_clock_wait ##### -->
553 <para>
554
555 </para>
556
557 @element: 
558 @id: 
559 @jitter: 
560 @Returns: 
561 <!-- # Unused Parameters # -->
562 @clock: 
563 @time: 
564
565
566 <!-- ##### FUNCTION gst_element_get_time ##### -->
567 <para>
568
569 </para>
570
571 @element: 
572 @Returns: 
573
574
575 <!-- ##### FUNCTION gst_element_wait ##### -->
576 <para>
577
578 </para>
579
580 @element: 
581 @timestamp: 
582 @Returns: 
583
584
585 <!-- ##### FUNCTION gst_element_set_time ##### -->
586 <para>
587
588 </para>
589
590 @element: 
591 @time: 
592
593
594 <!-- ##### FUNCTION gst_element_adjust_time ##### -->
595 <para>
596
597 </para>
598
599 @element: 
600 @diff: 
601
602
603 <!-- ##### FUNCTION gst_element_is_indexable ##### -->
604 <para>
605
606 </para>
607
608 @element: 
609 @Returns: 
610
611
612 <!-- ##### FUNCTION gst_element_set_index ##### -->
613 <para>
614
615 </para>
616
617 @element: 
618 @index: 
619
620
621 <!-- ##### FUNCTION gst_element_get_index ##### -->
622 <para>
623
624 </para>
625
626 @element: 
627 @Returns: 
628
629
630 <!-- ##### FUNCTION gst_element_release_locks ##### -->
631 <para>
632
633 </para>
634
635 @element: 
636 @Returns: 
637
638
639 <!-- ##### FUNCTION gst_element_yield ##### -->
640 <para>
641
642 </para>
643
644 @element: 
645
646
647 <!-- ##### FUNCTION gst_element_interrupt ##### -->
648 <para>
649
650 </para>
651
652 @element: 
653 @Returns: 
654
655
656 <!-- ##### FUNCTION gst_element_set_scheduler ##### -->
657 <para>
658
659 </para>
660
661 @element: 
662 @sched: 
663
664
665 <!-- ##### FUNCTION gst_element_get_scheduler ##### -->
666 <para>
667
668 </para>
669
670 @element: 
671 @Returns: 
672
673
674 <!-- ##### FUNCTION gst_element_add_pad ##### -->
675 <para>
676
677 </para>
678
679 @element: 
680 @pad: 
681
682
683 <!-- ##### FUNCTION gst_element_remove_pad ##### -->
684 <para>
685
686 </para>
687
688 @element: 
689 @pad: 
690
691
692 <!-- ##### FUNCTION gst_element_add_ghost_pad ##### -->
693 <para>
694
695 </para>
696
697 @element: 
698 @pad: 
699 @name: 
700 @Returns: 
701
702
703 <!-- ##### FUNCTION gst_element_remove_ghost_pad ##### -->
704 <para>
705
706 </para>
707
708 @element: 
709 @pad: 
710
711
712 <!-- pad template manipulation -->
713
714
715 <!-- ##### FUNCTION gst_element_get_pad ##### -->
716 <para>
717
718 </para>
719
720 @element: 
721 @name: 
722 @Returns: GList of #GstPads
723
724
725 <!-- ##### FUNCTION gst_element_get_static_pad ##### -->
726 <para>
727
728 </para>
729
730 @element: 
731 @name: 
732 @Returns: 
733
734
735 <!-- ##### FUNCTION gst_element_get_request_pad ##### -->
736 <para>
737
738 </para>
739
740 @element: 
741 @name: 
742 @Returns: 
743
744
745 <!-- ##### FUNCTION gst_element_release_request_pad ##### -->
746 <para>
747
748 </para>
749
750 @element: 
751 @pad: 
752
753
754 <!-- ##### FUNCTION gst_element_get_pad_list ##### -->
755 <para>
756
757 </para>
758
759 @element: 
760 @Returns: 
761
762
763 <!-- ##### FUNCTION gst_element_get_compatible_pad ##### -->
764 <para>
765
766 </para>
767
768 @element: 
769 @pad: 
770 @Returns: 
771
772
773 <!-- ##### FUNCTION gst_element_get_compatible_pad_filtered ##### -->
774 <para>
775
776 </para>
777
778 @element: 
779 @pad: 
780 @filtercaps: 
781 @Returns: 
782
783
784 <!-- ##### FUNCTION gst_element_class_get_pad_template ##### -->
785 <para>
786
787 </para>
788
789 @element_class: 
790 @name: 
791 @Returns: 
792
793
794 <!-- ##### FUNCTION gst_element_class_get_pad_template_list ##### -->
795 <para>
796
797 </para>
798
799 @element_class: 
800 @Returns: 
801
802
803 <!-- ##### FUNCTION gst_element_get_pad_template ##### -->
804 <para>
805
806 </para>
807
808 @element: 
809 @name: 
810 @Returns: 
811
812
813 <!-- ##### FUNCTION gst_element_get_pad_template_list ##### -->
814 <para>
815
816 </para>
817
818 @element: 
819 @Returns: 
820
821
822
823 <!-- scheduling -->
824
825
826 <!-- ##### FUNCTION gst_element_get_compatible_pad_template ##### -->
827 <para>
828
829 </para>
830
831 @element: 
832 @compattempl: 
833 @Returns: 
834
835
836 <!-- ##### FUNCTION gst_element_link ##### -->
837 <para>
838
839 </para>
840
841 @src: 
842 @dest: 
843 @Returns: 
844
845
846 <!-- ##### FUNCTION gst_element_link_many ##### -->
847 <para>
848
849 </para>
850
851 @element_1: 
852 @element_2: 
853 @Varargs: 
854 @Returns: 
855
856
857 <!-- ##### FUNCTION gst_element_link_filtered ##### -->
858 <para>
859
860 </para>
861
862 @src: 
863 @dest: 
864 @filtercaps: 
865 @Returns: 
866
867
868 <!-- ##### FUNCTION gst_element_unlink ##### -->
869 <para>
870
871 </para>
872
873 @src: 
874 @dest: 
875
876
877 <!-- ##### FUNCTION gst_element_unlink_many ##### -->
878 <para>
879
880 </para>
881
882 @element_1: 
883 @element_2: 
884 @Varargs: 
885
886
887 <!-- ##### FUNCTION gst_element_link_pads ##### -->
888 <para>
889
890 </para>
891
892 @src: 
893 @srcpadname: 
894 @dest: 
895 @destpadname: 
896 @Returns: 
897
898
899 <!-- ##### FUNCTION gst_element_link_pads_filtered ##### -->
900 <para>
901
902 </para>
903
904 @src: 
905 @srcpadname: 
906 @dest: 
907 @destpadname: 
908 @filtercaps: 
909 @Returns: 
910
911
912 <!-- ##### FUNCTION gst_element_unlink_pads ##### -->
913 <para>
914
915 </para>
916
917 @src: 
918 @srcpadname: 
919 @dest: 
920 @destpadname: 
921
922
923 <!-- pad manipulation -->
924
925
926 <!-- ##### FUNCTION gst_element_get_event_masks ##### -->
927 <para>
928
929 </para>
930
931 @element: 
932 @Returns: 
933
934
935 <!-- ##### FUNCTION gst_element_send_event ##### -->
936 <para>
937
938 </para>
939
940 @element: 
941 @event: 
942 @Returns: 
943
944
945 <!-- ##### FUNCTION gst_element_seek ##### -->
946 <para>
947
948 </para>
949
950 @element: 
951 @seek_type: 
952 @offset: 
953 @Returns: 
954
955
956 <!-- ##### FUNCTION gst_element_get_query_types ##### -->
957 <para>
958
959 </para>
960
961 @element: 
962 @Returns: 
963
964
965 <!-- ##### FUNCTION gst_element_query ##### -->
966 <para>
967
968 </para>
969
970 @element: 
971 @type: 
972 @format: 
973 @value: 
974 @Returns: 
975
976
977 <!-- ##### FUNCTION gst_element_get_formats ##### -->
978 <para>
979
980 </para>
981
982 @element: 
983 @Returns: 
984
985
986 <!-- ##### FUNCTION gst_element_convert ##### -->
987 <para>
988
989 </para>
990
991 @element: 
992 @src_format: 
993 @src_value: 
994 @dest_format: 
995 @dest_value: 
996 @Returns: 
997
998
999 <!-- ##### FUNCTION gst_element_found_tags ##### -->
1000 <para>
1001
1002 </para>
1003
1004 @element: 
1005 @tag_list: 
1006
1007
1008 <!-- ##### FUNCTION gst_element_found_tags_for_pad ##### -->
1009 <para>
1010
1011 </para>
1012
1013 @element: 
1014 @pad: 
1015 @timestamp: 
1016 @list: 
1017
1018
1019 <!-- ##### FUNCTION gst_element_set_eos ##### -->
1020 <para>
1021
1022 </para>
1023
1024 @element: 
1025
1026
1027 <!-- ##### FUNCTION gst_element_error_full ##### -->
1028 <para>
1029
1030 </para>
1031
1032 @element: 
1033 @domain: 
1034 @code: 
1035 @message: 
1036 @debug: 
1037 @file: 
1038 @function: 
1039 @line: 
1040
1041
1042 <!-- ##### FUNCTION gst_element_is_locked_state ##### -->
1043 <para>
1044
1045 </para>
1046
1047 @element: 
1048 @Returns: 
1049
1050
1051 <!-- ##### FUNCTION gst_element_set_locked_state ##### -->
1052 <para>
1053
1054 </para>
1055
1056 @element: 
1057 @locked_state: 
1058
1059
1060 <!-- ##### FUNCTION gst_element_sync_state_with_parent ##### -->
1061 <para>
1062
1063 </para>
1064
1065 @element: 
1066 @Returns: 
1067
1068
1069 <!-- ##### FUNCTION gst_element_get_state ##### -->
1070 <para>
1071
1072 </para>
1073
1074 @element: 
1075 @Returns: 
1076
1077
1078 <!-- ##### FUNCTION gst_element_set_state ##### -->
1079 <para>
1080
1081 </para>
1082
1083 @element: 
1084 @state: 
1085 @Returns: 
1086
1087
1088 <!-- ##### FUNCTION gst_element_wait_state_change ##### -->
1089 <para>
1090
1091 </para>
1092
1093 @element: 
1094
1095
1096 <!-- ##### FUNCTION gst_element_state_get_name ##### -->
1097 <para>
1098
1099 </para>
1100
1101 @state: 
1102 @Returns: 
1103
1104
1105 <!-- ##### FUNCTION gst_element_get_factory ##### -->
1106 <para>
1107
1108 </para>
1109
1110 @element: 
1111 @Returns: 
1112
1113
1114 <!-- ##### FUNCTION gst_element_get_managing_bin ##### -->
1115 <para>
1116
1117 </para>
1118
1119 @element: 
1120 @Returns: 
1121
1122 <!-- clocking -->
1123
1124
1125 <!-- ##### MACRO GST_TYPE_ELEMENT_FACTORY ##### -->
1126 <para>
1127
1128 </para>
1129
1130
1131
1132 <!-- ##### MACRO GST_ELEMENT_FACTORY ##### -->
1133 <para>
1134
1135 </para>
1136
1137 @obj: 
1138
1139
1140 <!-- ##### MACRO GST_ELEMENT_FACTORY_CLASS ##### -->
1141 <para>
1142
1143 </para>
1144
1145 @klass: 
1146
1147
1148 <!-- ##### MACRO GST_IS_ELEMENT_FACTORY ##### -->
1149 <para>
1150
1151 </para>
1152
1153 @obj: 
1154
1155
1156 <!-- ##### MACRO GST_IS_ELEMENT_FACTORY_CLASS ##### -->
1157 <para>
1158
1159 </para>
1160
1161 @klass: 
1162
1163
1164 <!-- ##### FUNCTION gst_element_factory_get_type ##### -->
1165 <para>
1166
1167 </para>
1168
1169 @Returns: 
1170
1171
1172 <!-- ##### FUNCTION gst_element_register ##### -->
1173 <para>
1174
1175 </para>
1176
1177 @plugin: 
1178 @elementname: 
1179 @rank: 
1180 @type: 
1181 @Returns: 
1182
1183
1184 <!-- ##### FUNCTION gst_element_factory_find ##### -->
1185 <para>
1186
1187 </para>
1188
1189 @name: 
1190 @Returns: 
1191
1192
1193 <!-- ##### FUNCTION gst_element_factory_get_element_type ##### -->
1194 <para>
1195
1196 </para>
1197
1198 @factory: 
1199 @Returns: 
1200
1201
1202 <!-- ##### FUNCTION gst_element_factory_get_longname ##### -->
1203 <para>
1204
1205 </para>
1206
1207 @factory: 
1208 @Returns: 
1209
1210
1211 <!-- ##### FUNCTION gst_element_factory_get_klass ##### -->
1212 <para>
1213
1214 </para>
1215
1216 @factory: 
1217 @Returns: 
1218
1219
1220 <!-- ##### FUNCTION gst_element_factory_get_description ##### -->
1221 <para>
1222
1223 </para>
1224
1225 @factory: 
1226 @Returns: 
1227
1228
1229 <!-- ##### FUNCTION gst_element_factory_get_author ##### -->
1230 <para>
1231
1232 </para>
1233
1234 @factory: 
1235 @Returns: 
1236
1237
1238 <!-- ##### FUNCTION gst_element_factory_get_num_pad_templates ##### -->
1239 <para>
1240
1241 </para>
1242
1243 @factory: 
1244 @Returns: 
1245
1246
1247 <!-- ##### FUNCTION gst_element_factory_get_pad_templates ##### -->
1248 <para>
1249
1250 </para>
1251
1252 @factory: 
1253 @Returns: 
1254
1255
1256 <!-- ##### FUNCTION gst_element_factory_get_uri_type ##### -->
1257 <para>
1258
1259 </para>
1260
1261 @factory: 
1262 @Returns: 
1263
1264
1265 <!-- ##### FUNCTION gst_element_factory_get_uri_protocols ##### -->
1266 <para>
1267
1268 </para>
1269
1270 @factory: 
1271 @Returns: 
1272
1273
1274 <!-- ##### FUNCTION gst_element_factory_create ##### -->
1275 <para>
1276
1277 </para>
1278
1279 @factory: 
1280 @name: 
1281 @Returns: 
1282
1283
1284 <!-- ##### FUNCTION gst_element_factory_make ##### -->
1285 <para>
1286
1287 </para>
1288
1289 @factoryname: 
1290 @name: 
1291 @Returns: 
1292
1293
1294 <!-- ##### FUNCTION gst_element_factory_can_src_caps ##### -->
1295 <para>
1296
1297 </para>
1298
1299 @factory: 
1300 @caps: 
1301 @Returns: 
1302
1303
1304 <!-- ##### FUNCTION gst_element_factory_can_sink_caps ##### -->
1305 <para>
1306
1307 </para>
1308
1309 @factory: 
1310 @caps: 
1311 @Returns: 
1312
1313
1314 <!-- ##### SIGNAL GstElement::eos ##### -->
1315 <para>
1316 Signal emited when the element goes to PAUSED due to an end-of-stream
1317 condition.
1318 </para>
1319
1320 @gstelement: the object which received the signal.
1321
1322 <!-- ##### SIGNAL GstElement::error ##### -->
1323 <para>
1324 This signal is emitted when an element has encountered an error that caused
1325 it to fail performing its function.
1326 </para>
1327
1328 @gstelement: the object which received the signal.
1329 @arg1: the original #GstElement that generated the error.
1330 @arg2: a #GError containing the translated error message.
1331 @arg3: a debug string providing additional untranslated debug information, or NULL.
1332
1333 <!-- ##### SIGNAL GstElement::found-tag ##### -->
1334 <para>
1335
1336 </para>
1337
1338 @gstelement: the object which received the signal.
1339 @arg1: 
1340 @arg2: 
1341
1342 <!-- ##### SIGNAL GstElement::new-pad ##### -->
1343 <para>
1344 Is triggered whenever a new pad is added to an element.
1345 </para>
1346
1347 @gstelement: the object which received the signal.
1348 @arg1: the new pad that was added
1349
1350 <!-- ##### SIGNAL GstElement::pad-removed ##### -->
1351 <para>
1352 Is triggered whenever a pad has been removed from the element.
1353 </para>
1354
1355 @gstelement: the object which received the signal.
1356 @arg1: The pad that was removed.
1357
1358 <!-- ##### SIGNAL GstElement::state-change ##### -->
1359 <para>
1360 Is triggered whenever the state of an element changes.
1361 </para>
1362
1363 @gstelement: the object which received the signal.
1364 @arg1: the new state of the object
1365 @arg2: 
1366