Debian Codegraph @

gstreamer/gstreamermm/playbin.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2
3
4 #include <gstreamermmconfig.h>
5 #ifndef GSTREAMERMM_DISABLE_DEPRECATED
6
7
8 #include <glibmm.h>
9
10 #include <gstreamermm/playbin.h>
11 #include <gstreamermm/private/playbin_p.h>
12
13
14 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
15
16
17 extern "C"
18 {
19
20 GType gst_play_bin_gstreamermm_get_type()
21 {
22 static GType type = 0;
23 GstElementFactory* factory = 0;
24 GstPluginFeature* feature = 0;
25
26 if(!type)
27 {
28 factory = gst_element_factory_find("playbin");
29 // Make sure that the feature is actually loaded:
30 if(factory)
31 {
32 feature =
33 gst_plugin_feature_load(GST_PLUGIN_FEATURE(factory));
34
35 g_object_unref(factory);
36 factory = GST_ELEMENT_FACTORY(feature);
37 type = gst_element_factory_get_element_type(factory);
38 g_object_unref(factory);
39 }
40 }
41
42 return type;
43 }
44
45 } // extern "C"
46
47 namespace Gst
48 {
49
50 PlayBin::PlayBin()
51 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
52 Glib::ObjectBase(nullptr),
53 Gst::Pipeline(Glib::ConstructParams(playbin_class_.init(), "name",static_cast<char*>(0), nullptr))
54 {}
55
56 PlayBin::PlayBin(const Glib::ustring& name)
57 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
58 Glib::ObjectBase(nullptr),
59 Gst::Pipeline(Glib::ConstructParams(playbin_class_.init(), "name",name.c_str(), nullptr))
60 {}
61
62 Gst::TagList PlayBin::get_video_tags(int arg0)
63 {
64 GstTagList* result;
65 g_signal_emit_by_name(gobj(), "get-video-tags", arg0, &result, static_cast<void*>(0));
66 return Glib::wrap_taglist(result);
67 }
68
69 Gst::TagList PlayBin::get_audio_tags(int arg0)
70 {
71 GstTagList* result;
72 g_signal_emit_by_name(gobj(), "get-audio-tags", arg0, &result, static_cast<void*>(0));
73 return Glib::wrap_taglist(result);
74 }
75
76 Gst::TagList PlayBin::get_text_tags(int arg0)
77 {
78 GstTagList* result;
79 g_signal_emit_by_name(gobj(), "get-text-tags", arg0, &result, static_cast<void*>(0));
80 return Glib::wrap_taglist(result);
81 }
82
83 Glib::RefPtr<Gst::Sample> PlayBin::convert_sample(const Glib::RefPtr<Gst::Caps>& arg0)
84 {
85 GstSample* result;
86 g_signal_emit_by_name(gobj(), "convert-sample", Glib::unwrap(arg0), &result, static_cast<void*>(0));
87 return Glib::wrap(result);
88 }
89
90 Glib::RefPtr<Gst::Pad> PlayBin::get_video_pad(int arg0)
91 {
92 GstPad* result;
93 g_signal_emit_by_name(gobj(), "get-video-pad", arg0, &result, static_cast<void*>(0));
94 return Glib::wrap(result);
95 }
96
97 Glib::RefPtr<Gst::Pad> PlayBin::get_audio_pad(int arg0)
98 {
99 GstPad* result;
100 g_signal_emit_by_name(gobj(), "get-audio-pad", arg0, &result, static_cast<void*>(0));
101 return Glib::wrap(result);
102 }
103
104 Glib::RefPtr<Gst::Pad> PlayBin::get_text_pad(int arg0)
105 {
106 GstPad* result;
107 g_signal_emit_by_name(gobj(), "get-text-pad", arg0, &result, static_cast<void*>(0));
108 return Glib::wrap(result);
109 }
110
111 }
112
113 namespace
114 {
115
116
117 static const Glib::SignalProxyInfo PlayBin_signal_about_to_finish_info =
118 {
119 "about-to-finish",
120 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
121 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
122 };
123
124
125 static const Glib::SignalProxyInfo PlayBin_signal_video_changed_info =
126 {
127 "video-changed",
128 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
129 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
130 };
131
132
133 static const Glib::SignalProxyInfo PlayBin_signal_audio_changed_info =
134 {
135 "audio-changed",
136 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
137 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
138 };
139
140
141 static const Glib::SignalProxyInfo PlayBin_signal_text_changed_info =
142 {
143 "text-changed",
144 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
145 (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
146 };
147
148
149 static void PlayBin_signal_video_tags_changed_callback(GstPlayBin* self, gint p0,void* data)
150 {
151 using namespace Gst;
152 using SlotType = sigc::slot< void,int >;
153
154 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
155 // Do not try to call a signal on a disassociated wrapper.
156 if(obj)
157 {
158 try
159 {
160 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
161 (*static_cast<SlotType*>(slot))(p0
162 );
163 }
164 catch(...)
165 {
166 Glib::exception_handlers_invoke();
167 }
168 }
169 }
170
171 static const Glib::SignalProxyInfo PlayBin_signal_video_tags_changed_info =
172 {
173 "video-tags-changed",
174 (GCallback) &PlayBin_signal_video_tags_changed_callback,
175 (GCallback) &PlayBin_signal_video_tags_changed_callback
176 };
177
178
179 static void PlayBin_signal_audio_tags_changed_callback(GstPlayBin* self, gint p0,void* data)
180 {
181 using namespace Gst;
182 using SlotType = sigc::slot< void,int >;
183
184 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
185 // Do not try to call a signal on a disassociated wrapper.
186 if(obj)
187 {
188 try
189 {
190 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
191 (*static_cast<SlotType*>(slot))(p0
192 );
193 }
194 catch(...)
195 {
196 Glib::exception_handlers_invoke();
197 }
198 }
199 }
200
201 static const Glib::SignalProxyInfo PlayBin_signal_audio_tags_changed_info =
202 {
203 "audio-tags-changed",
204 (GCallback) &PlayBin_signal_audio_tags_changed_callback,
205 (GCallback) &PlayBin_signal_audio_tags_changed_callback
206 };
207
208
209 static void PlayBin_signal_text_tags_changed_callback(GstPlayBin* self, gint p0,void* data)
210 {
211 using namespace Gst;
212 using SlotType = sigc::slot< void,int >;
213
214 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
215 // Do not try to call a signal on a disassociated wrapper.
216 if(obj)
217 {
218 try
219 {
220 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
221 (*static_cast<SlotType*>(slot))(p0
222 );
223 }
224 catch(...)
225 {
226 Glib::exception_handlers_invoke();
227 }
228 }
229 }
230
231 static const Glib::SignalProxyInfo PlayBin_signal_text_tags_changed_info =
232 {
233 "text-tags-changed",
234 (GCallback) &PlayBin_signal_text_tags_changed_callback,
235 (GCallback) &PlayBin_signal_text_tags_changed_callback
236 };
237
238
239 static void PlayBin_signal_source_setup_callback(GstPlayBin* self, GstElement* p0,void* data)
240 {
241 using namespace Gst;
242 using SlotType = sigc::slot< void,const Glib::RefPtr<Gst::Element>& >;
243
244 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
245 // Do not try to call a signal on a disassociated wrapper.
246 if(obj)
247 {
248 try
249 {
250 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
251 (*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
252 );
253 }
254 catch(...)
255 {
256 Glib::exception_handlers_invoke();
257 }
258 }
259 }
260
261 static const Glib::SignalProxyInfo PlayBin_signal_source_setup_info =
262 {
263 "source-setup",
264 (GCallback) &PlayBin_signal_source_setup_callback,
265 (GCallback) &PlayBin_signal_source_setup_callback
266 };
267
268
269 static GstTagList* PlayBin_signal_get_video_tags_callback(GstPlayBin* self, gint p0,void* data)
270 {
271 using namespace Gst;
272 using SlotType = sigc::slot< Gst::TagList,int >;
273
274 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
275 // Do not try to call a signal on a disassociated wrapper.
276 if(obj)
277 {
278 try
279 {
280 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
281 return ((*static_cast<SlotType*>(slot))(p0
282 )).gobj_copy();
283 }
284 catch(...)
285 {
286 Glib::exception_handlers_invoke();
287 }
288 }
289
290 using RType = GstTagList*;
291 return RType();
292 }
293
294 static GstTagList* PlayBin_signal_get_video_tags_notify_callback(GstPlayBin* self, gint p0, void* data)
295 {
296 using namespace Gst;
297 using SlotType = sigc::slot< void,int >;
298
299 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
300 // Do not try to call a signal on a disassociated wrapper.
301 if(obj)
302 {
303 try
304 {
305 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
306 (*static_cast<SlotType*>(slot))(p0
307 );
308 }
309 catch(...)
310 {
311 Glib::exception_handlers_invoke();
312 }
313 }
314
315 using RType = GstTagList*;
316 return RType();
317 }
318
319 static const Glib::SignalProxyInfo PlayBin_signal_get_video_tags_info =
320 {
321 "get-video-tags",
322 (GCallback) &PlayBin_signal_get_video_tags_callback,
323 (GCallback) &PlayBin_signal_get_video_tags_notify_callback
324 };
325
326
327 static GstTagList* PlayBin_signal_get_audio_tags_callback(GstPlayBin* self, gint p0,void* data)
328 {
329 using namespace Gst;
330 using SlotType = sigc::slot< Gst::TagList,int >;
331
332 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
333 // Do not try to call a signal on a disassociated wrapper.
334 if(obj)
335 {
336 try
337 {
338 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
339 return ((*static_cast<SlotType*>(slot))(p0
340 )).gobj_copy();
341 }
342 catch(...)
343 {
344 Glib::exception_handlers_invoke();
345 }
346 }
347
348 using RType = GstTagList*;
349 return RType();
350 }
351
352 static GstTagList* PlayBin_signal_get_audio_tags_notify_callback(GstPlayBin* self, gint p0, void* data)
353 {
354 using namespace Gst;
355 using SlotType = sigc::slot< void,int >;
356
357 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
358 // Do not try to call a signal on a disassociated wrapper.
359 if(obj)
360 {
361 try
362 {
363 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
364 (*static_cast<SlotType*>(slot))(p0
365 );
366 }
367 catch(...)
368 {
369 Glib::exception_handlers_invoke();
370 }
371 }
372
373 using RType = GstTagList*;
374 return RType();
375 }
376
377 static const Glib::SignalProxyInfo PlayBin_signal_get_audio_tags_info =
378 {
379 "get-audio-tags",
380 (GCallback) &PlayBin_signal_get_audio_tags_callback,
381 (GCallback) &PlayBin_signal_get_audio_tags_notify_callback
382 };
383
384
385 static GstTagList* PlayBin_signal_get_text_tags_callback(GstPlayBin* self, gint p0,void* data)
386 {
387 using namespace Gst;
388 using SlotType = sigc::slot< Gst::TagList,int >;
389
390 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
391 // Do not try to call a signal on a disassociated wrapper.
392 if(obj)
393 {
394 try
395 {
396 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
397 return ((*static_cast<SlotType*>(slot))(p0
398 )).gobj_copy();
399 }
400 catch(...)
401 {
402 Glib::exception_handlers_invoke();
403 }
404 }
405
406 using RType = GstTagList*;
407 return RType();
408 }
409
410 static GstTagList* PlayBin_signal_get_text_tags_notify_callback(GstPlayBin* self, gint p0, void* data)
411 {
412 using namespace Gst;
413 using SlotType = sigc::slot< void,int >;
414
415 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
416 // Do not try to call a signal on a disassociated wrapper.
417 if(obj)
418 {
419 try
420 {
421 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
422 (*static_cast<SlotType*>(slot))(p0
423 );
424 }
425 catch(...)
426 {
427 Glib::exception_handlers_invoke();
428 }
429 }
430
431 using RType = GstTagList*;
432 return RType();
433 }
434
435 static const Glib::SignalProxyInfo PlayBin_signal_get_text_tags_info =
436 {
437 "get-text-tags",
438 (GCallback) &PlayBin_signal_get_text_tags_callback,
439 (GCallback) &PlayBin_signal_get_text_tags_notify_callback
440 };
441
442
443 static GstSample* PlayBin_signal_convert_sample_callback(GstPlayBin* self, GstCaps* p0,void* data)
444 {
445 using namespace Gst;
446 using SlotType = sigc::slot< Glib::RefPtr<Gst::Sample>,const Glib::RefPtr<Gst::Caps>& >;
447
448 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
449 // Do not try to call a signal on a disassociated wrapper.
450 if(obj)
451 {
452 try
453 {
454 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
455 return ((*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
456 ))->gobj_copy();
457 }
458 catch(...)
459 {
460 Glib::exception_handlers_invoke();
461 }
462 }
463
464 using RType = GstSample*;
465 return RType();
466 }
467
468 static GstSample* PlayBin_signal_convert_sample_notify_callback(GstPlayBin* self, GstCaps* p0, void* data)
469 {
470 using namespace Gst;
471 using SlotType = sigc::slot< void,const Glib::RefPtr<Gst::Caps>& >;
472
473 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
474 // Do not try to call a signal on a disassociated wrapper.
475 if(obj)
476 {
477 try
478 {
479 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
480 (*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
481 );
482 }
483 catch(...)
484 {
485 Glib::exception_handlers_invoke();
486 }
487 }
488
489 using RType = GstSample*;
490 return RType();
491 }
492
493 static const Glib::SignalProxyInfo PlayBin_signal_convert_sample_info =
494 {
495 "convert-sample",
496 (GCallback) &PlayBin_signal_convert_sample_callback,
497 (GCallback) &PlayBin_signal_convert_sample_notify_callback
498 };
499
500
501 static GstPad* PlayBin_signal_get_video_pad_callback(GstPlayBin* self, gint p0,void* data)
502 {
503 using namespace Gst;
504 using SlotType = sigc::slot< Glib::RefPtr<Gst::Pad>,int >;
505
506 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
507 // Do not try to call a signal on a disassociated wrapper.
508 if(obj)
509 {
510 try
511 {
512 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
513 return Glib::unwrap((*static_cast<SlotType*>(slot))(p0
514 ));
515 }
516 catch(...)
517 {
518 Glib::exception_handlers_invoke();
519 }
520 }
521
522 using RType = GstPad*;
523 return RType();
524 }
525
526 static GstPad* PlayBin_signal_get_video_pad_notify_callback(GstPlayBin* self, gint p0, void* data)
527 {
528 using namespace Gst;
529 using SlotType = sigc::slot< void,int >;
530
531 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
532 // Do not try to call a signal on a disassociated wrapper.
533 if(obj)
534 {
535 try
536 {
537 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
538 (*static_cast<SlotType*>(slot))(p0
539 );
540 }
541 catch(...)
542 {
543 Glib::exception_handlers_invoke();
544 }
545 }
546
547 using RType = GstPad*;
548 return RType();
549 }
550
551 static const Glib::SignalProxyInfo PlayBin_signal_get_video_pad_info =
552 {
553 "get-video-pad",
554 (GCallback) &PlayBin_signal_get_video_pad_callback,
555 (GCallback) &PlayBin_signal_get_video_pad_notify_callback
556 };
557
558
559 static GstPad* PlayBin_signal_get_audio_pad_callback(GstPlayBin* self, gint p0,void* data)
560 {
561 using namespace Gst;
562 using SlotType = sigc::slot< Glib::RefPtr<Gst::Pad>,int >;
563
564 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
565 // Do not try to call a signal on a disassociated wrapper.
566 if(obj)
567 {
568 try
569 {
570 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
571 return Glib::unwrap((*static_cast<SlotType*>(slot))(p0
572 ));
573 }
574 catch(...)
575 {
576 Glib::exception_handlers_invoke();
577 }
578 }
579
580 using RType = GstPad*;
581 return RType();
582 }
583
584 static GstPad* PlayBin_signal_get_audio_pad_notify_callback(GstPlayBin* self, gint p0, void* data)
585 {
586 using namespace Gst;
587 using SlotType = sigc::slot< void,int >;
588
589 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
590 // Do not try to call a signal on a disassociated wrapper.
591 if(obj)
592 {
593 try
594 {
595 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
596 (*static_cast<SlotType*>(slot))(p0
597 );
598 }
599 catch(...)
600 {
601 Glib::exception_handlers_invoke();
602 }
603 }
604
605 using RType = GstPad*;
606 return RType();
607 }
608
609 static const Glib::SignalProxyInfo PlayBin_signal_get_audio_pad_info =
610 {
611 "get-audio-pad",
612 (GCallback) &PlayBin_signal_get_audio_pad_callback,
613 (GCallback) &PlayBin_signal_get_audio_pad_notify_callback
614 };
615
616
617 static GstPad* PlayBin_signal_get_text_pad_callback(GstPlayBin* self, gint p0,void* data)
618 {
619 using namespace Gst;
620 using SlotType = sigc::slot< Glib::RefPtr<Gst::Pad>,int >;
621
622 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
623 // Do not try to call a signal on a disassociated wrapper.
624 if(obj)
625 {
626 try
627 {
628 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
629 return Glib::unwrap((*static_cast<SlotType*>(slot))(p0
630 ));
631 }
632 catch(...)
633 {
634 Glib::exception_handlers_invoke();
635 }
636 }
637
638 using RType = GstPad*;
639 return RType();
640 }
641
642 static GstPad* PlayBin_signal_get_text_pad_notify_callback(GstPlayBin* self, gint p0, void* data)
643 {
644 using namespace Gst;
645 using SlotType = sigc::slot< void,int >;
646
647 auto obj = dynamic_cast<PlayBin*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
648 // Do not try to call a signal on a disassociated wrapper.
649 if(obj)
650 {
651 try
652 {
653 if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
654 (*static_cast<SlotType*>(slot))(p0
655 );
656 }
657 catch(...)
658 {
659 Glib::exception_handlers_invoke();
660 }
661 }
662
663 using RType = GstPad*;
664 return RType();
665 }
666
667 static const Glib::SignalProxyInfo PlayBin_signal_get_text_pad_info =
668 {
669 "get-text-pad",
670 (GCallback) &PlayBin_signal_get_text_pad_callback,
671 (GCallback) &PlayBin_signal_get_text_pad_notify_callback
672 };
673
674
675 } // anonymous namespace
676
677
678 namespace Glib
679 {
680
681 Glib::RefPtr<Gst::PlayBin> wrap(GstPlayBin* object, bool take_copy)
682 {
683 return Glib::RefPtr<Gst::PlayBin>( dynamic_cast<Gst::PlayBin*> (Glib::wrap_auto ((GObject*)(object), take_copy)) );
684 //We use dynamic_cast<> in case of multiple inheritance.
685 }
686
687 } /* namespace Glib */
688
689
690 namespace Gst
691 {
692
693
694 /* The *_Class implementation: */
695
696 const Glib::Class& PlayBin_Class::init()
697 {
698 if(!gtype_) // create the GType if necessary
699 {
700 // Glib::Class has to know the class init function to clone custom types.
701 class_init_func_ = &PlayBin_Class::class_init_function;
702
703 // This is actually just optimized away, apparently with no harm.
704 // Make sure that the parent type has been created.
705 //CppClassParent::CppObjectType::get_type();
706
707 // Create the wrapper type, with the same class/instance size as the base type.
708 register_derived_type(gst_play_bin_gstreamermm_get_type());
709
710 // Add derived versions of interfaces, if the C type implements any interfaces:
711 Gst::StreamVolume::add_interface(get_type());
712 Gst::VideoOverlay::add_interface(get_type());
713 Gst::Navigation::add_interface(get_type());
714 Gst::ColorBalance::add_interface(get_type());
715
716 }
717
718 return *this;
719 }
720
721
722 void PlayBin_Class::class_init_function(void* g_class, void* class_data)
723 {
724 const auto klass = static_cast<BaseClassType*>(g_class);
725 CppClassParent::class_init_function(klass, class_data);
726
727
728 }
729
730
731 Glib::ObjectBase* PlayBin_Class::wrap_new(GObject* object)
732 {
733 return new PlayBin((GstPlayBin*)object);
734 }
735
736
737 /* The implementation: */
738
739 GstPlayBin* PlayBin::gobj_copy()
740 {
741 reference();
742 return gobj();
743 }
744
745 PlayBin::PlayBin(const Glib::ConstructParams& construct_params)
746 :
747 Gst::Pipeline(construct_params)
748 {
749
750 }
751
752 PlayBin::PlayBin(GstPlayBin* castitem)
753 :
754 Gst::Pipeline((GstPipeline*)(castitem))
755 {}
756
757
758 PlayBin::PlayBin(PlayBin&& src) noexcept
759 : Gst::Pipeline(std::move(src))
760 , Gst::StreamVolume(std::move(src))
761 , Gst::VideoOverlay(std::move(src))
762 , Gst::Navigation(std::move(src))
763 , Gst::ColorBalance(std::move(src))
764 {}
765
766 PlayBin& PlayBin::operator=(PlayBin&& src) noexcept
767 {
768 Gst::Pipeline::operator=(std::move(src));
769 Gst::StreamVolume::operator=(std::move(src));
770 Gst::VideoOverlay::operator=(std::move(src));
771 Gst::Navigation::operator=(std::move(src));
772 Gst::ColorBalance::operator=(std::move(src));
773 return *this;
774 }
775
776
777 PlayBin::~PlayBin() noexcept
778 {}
779
780
781 PlayBin::CppClassType PlayBin::playbin_class_; // initialize static member
782
783 GType PlayBin::get_type()
784 {
785 return playbin_class_.init().get_type();
786 }
787
788
789 GType PlayBin::get_base_type()
790 {
791 return gst_play_bin_gstreamermm_get_type();
792 }
793
794
795 Glib::RefPtr<PlayBin> PlayBin::create()
796 {
797 return Glib::RefPtr<PlayBin>( new PlayBin() );
798 }
799
800 Glib::RefPtr<PlayBin> PlayBin::create(const Glib::ustring& name)
801 {
802 return Glib::RefPtr<PlayBin>( new PlayBin(name) );
803 }
804
805
806 Glib::SignalProxy< void > PlayBin::signal_about_to_finish()
807 {
808 return Glib::SignalProxy< void >(this, &PlayBin_signal_about_to_finish_info);
809 }
810
811
812 Glib::SignalProxy< void > PlayBin::signal_video_changed()
813 {
814 return Glib::SignalProxy< void >(this, &PlayBin_signal_video_changed_info);
815 }
816
817
818 Glib::SignalProxy< void > PlayBin::signal_audio_changed()
819 {
820 return Glib::SignalProxy< void >(this, &PlayBin_signal_audio_changed_info);
821 }
822
823
824 Glib::SignalProxy< void > PlayBin::signal_text_changed()
825 {
826 return Glib::SignalProxy< void >(this, &PlayBin_signal_text_changed_info);
827 }
828
829
830 Glib::SignalProxy< void,int > PlayBin::signal_video_tags_changed()
831 {
832 return Glib::SignalProxy< void,int >(this, &PlayBin_signal_video_tags_changed_info);
833 }
834
835
836 Glib::SignalProxy< void,int > PlayBin::signal_audio_tags_changed()
837 {
838 return Glib::SignalProxy< void,int >(this, &PlayBin_signal_audio_tags_changed_info);
839 }
840
841
842 Glib::SignalProxy< void,int > PlayBin::signal_text_tags_changed()
843 {
844 return Glib::SignalProxy< void,int >(this, &PlayBin_signal_text_tags_changed_info);
845 }
846
847
848 Glib::SignalProxy< void,const Glib::RefPtr<Gst::Element>& > PlayBin::signal_source_setup()
849 {
850 return Glib::SignalProxy< void,const Glib::RefPtr<Gst::Element>& >(this, &PlayBin_signal_source_setup_info);
851 }
852
853
854 Glib::SignalProxy< Gst::TagList,int > PlayBin::signal_get_video_tags()
855 {
856 return Glib::SignalProxy< Gst::TagList,int >(this, &PlayBin_signal_get_video_tags_info);
857 }
858
859
860 Glib::SignalProxy< Gst::TagList,int > PlayBin::signal_get_audio_tags()
861 {
862 return Glib::SignalProxy< Gst::TagList,int >(this, &PlayBin_signal_get_audio_tags_info);
863 }
864
865
866 Glib::SignalProxy< Gst::TagList,int > PlayBin::signal_get_text_tags()
867 {
868 return Glib::SignalProxy< Gst::TagList,int >(this, &PlayBin_signal_get_text_tags_info);
869 }
870
871
872 Glib::SignalProxy< Glib::RefPtr<Gst::Sample>,const Glib::RefPtr<Gst::Caps>& > PlayBin::signal_convert_sample()
873 {
874 return Glib::SignalProxy< Glib::RefPtr<Gst::Sample>,const Glib::RefPtr<Gst::Caps>& >(this, &PlayBin_signal_convert_sample_info);
875 }
876
877
878 Glib::SignalProxy< Glib::RefPtr<Gst::Pad>,int > PlayBin::signal_get_video_pad()
879 {
880 return Glib::SignalProxy< Glib::RefPtr<Gst::Pad>,int >(this, &PlayBin_signal_get_video_pad_info);
881 }
882
883
884 Glib::SignalProxy< Glib::RefPtr<Gst::Pad>,int > PlayBin::signal_get_audio_pad()
885 {
886 return Glib::SignalProxy< Glib::RefPtr<Gst::Pad>,int >(this, &PlayBin_signal_get_audio_pad_info);
887 }
888
889
890 Glib::SignalProxy< Glib::RefPtr<Gst::Pad>,int > PlayBin::signal_get_text_pad()
891 {
892 return Glib::SignalProxy< Glib::RefPtr<Gst::Pad>,int >(this, &PlayBin_signal_get_text_pad_info);
893 }
894
895
896 Glib::PropertyProxy< Glib::ustring > PlayBin::property_uri()
897 {
898 return Glib::PropertyProxy< Glib::ustring >(this, "uri");
899 }
900
901 Glib::PropertyProxy_ReadOnly< Glib::ustring > PlayBin::property_uri() const
902 {
903 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "uri");
904 }
905
906 Glib::PropertyProxy_ReadOnly< Glib::ustring > PlayBin::property_current_uri() const
907 {
908 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "current-uri");
909 }
910
911 Glib::PropertyProxy< Glib::ustring > PlayBin::property_suburi()
912 {
913 return Glib::PropertyProxy< Glib::ustring >(this, "suburi");
914 }
915
916 Glib::PropertyProxy_ReadOnly< Glib::ustring > PlayBin::property_suburi() const
917 {
918 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "suburi");
919 }
920
921 Glib::PropertyProxy_ReadOnly< Glib::ustring > PlayBin::property_current_suburi() const
922 {
923 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "current-suburi");
924 }
925
926 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin::property_source() const
927 {
928 return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "source");
929 }
930
931 Glib::PropertyProxy< Gst::PlayFlags > PlayBin::property_flags()
932 {
933 return Glib::PropertyProxy< Gst::PlayFlags >(this, "flags");
934 }
935
936 Glib::PropertyProxy_ReadOnly< Gst::PlayFlags > PlayBin::property_flags() const
937 {
938 return Glib::PropertyProxy_ReadOnly< Gst::PlayFlags >(this, "flags");
939 }
940
941 Glib::PropertyProxy_ReadOnly< int > PlayBin::property_n_video() const
942 {
943 return Glib::PropertyProxy_ReadOnly< int >(this, "n-video");
944 }
945
946 Glib::PropertyProxy< int > PlayBin::property_current_video()
947 {
948 return Glib::PropertyProxy< int >(this, "current-video");
949 }
950
951 Glib::PropertyProxy_ReadOnly< int > PlayBin::property_current_video() const
952 {
953 return Glib::PropertyProxy_ReadOnly< int >(this, "current-video");
954 }
955
956 Glib::PropertyProxy_ReadOnly< int > PlayBin::property_n_audio() const
957 {
958 return Glib::PropertyProxy_ReadOnly< int >(this, "n-audio");
959 }
960
961 Glib::PropertyProxy< int > PlayBin::property_current_audio()
962 {
963 return Glib::PropertyProxy< int >(this, "current-audio");
964 }
965
966 Glib::PropertyProxy_ReadOnly< int > PlayBin::property_current_audio() const
967 {
968 return Glib::PropertyProxy_ReadOnly< int >(this, "current-audio");
969 }
970
971 Glib::PropertyProxy_ReadOnly< int > PlayBin::property_n_text() const
972 {
973 return Glib::PropertyProxy_ReadOnly< int >(this, "n-text");
974 }
975
976 Glib::PropertyProxy< int > PlayBin::property_current_text()
977 {
978 return Glib::PropertyProxy< int >(this, "current-text");
979 }
980
981 Glib::PropertyProxy_ReadOnly< int > PlayBin::property_current_text() const
982 {
983 return Glib::PropertyProxy_ReadOnly< int >(this, "current-text");
984 }
985
986 Glib::PropertyProxy< Glib::ustring > PlayBin::property_subtitle_encoding()
987 {
988 return Glib::PropertyProxy< Glib::ustring >(this, "subtitle-encoding");
989 }
990
991 Glib::PropertyProxy_ReadOnly< Glib::ustring > PlayBin::property_subtitle_encoding() const
992 {
993 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "subtitle-encoding");
994 }
995
996 Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin::property_audio_sink()
997 {
998 return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "audio-sink");
999 }
1000
1001 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin::property_audio_sink() const
1002 {
1003 return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "audio-sink");
1004 }
1005
1006 Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin::property_video_sink()
1007 {
1008 return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "video-sink");
1009 }
1010
1011 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin::property_video_sink() const
1012 {
1013 return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "video-sink");
1014 }
1015
1016 Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin::property_vis_plugin()
1017 {
1018 return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "vis-plugin");
1019 }
1020
1021 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin::property_vis_plugin() const
1022 {
1023 return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "vis-plugin");
1024 }
1025
1026 Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin::property_text_sink()
1027 {
1028 return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "text-sink");
1029 }
1030
1031 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin::property_text_sink() const
1032 {
1033 return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "text-sink");
1034 }
1035
1036 Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin::property_video_stream_combiner()
1037 {
1038 return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "video-stream-combiner");
1039 }
1040
1041 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin::property_video_stream_combiner() const
1042 {
1043 return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "video-stream-combiner");
1044 }
1045
1046 Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin::property_audio_stream_combiner()
1047 {
1048 return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "audio-stream-combiner");
1049 }
1050
1051 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin::property_audio_stream_combiner() const
1052 {
1053 return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "audio-stream-combiner");
1054 }
1055
1056 Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin::property_text_stream_combiner()
1057 {
1058 return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "text-stream-combiner");
1059 }
1060
1061 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin::property_text_stream_combiner() const
1062 {
1063 return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "text-stream-combiner");
1064 }
1065
1066 Glib::PropertyProxy< double > PlayBin::property_volume()
1067 {
1068 return Glib::PropertyProxy< double >(this, "volume");
1069 }
1070
1071 Glib::PropertyProxy_ReadOnly< double > PlayBin::property_volume() const
1072 {
1073 return Glib::PropertyProxy_ReadOnly< double >(this, "volume");
1074 }
1075
1076 Glib::PropertyProxy< bool > PlayBin::property_mute()
1077 {
1078 return Glib::PropertyProxy< bool >(this, "mute");
1079 }
1080
1081 Glib::PropertyProxy_ReadOnly< bool > PlayBin::property_mute() const
1082 {
1083 return Glib::PropertyProxy_ReadOnly< bool >(this, "mute");
1084 }
1085
1086 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Sample> > PlayBin::property_sample() const
1087 {
1088 return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Sample> >(this, "sample");
1089 }
1090
1091 Glib::PropertyProxy_WriteOnly< Glib::ustring > PlayBin::property_subtitle_font_desc()
1092 {
1093 return Glib::PropertyProxy_WriteOnly< Glib::ustring >(this, "subtitle-font-desc");
1094 }
1095
1096 Glib::PropertyProxy< guint64 > PlayBin::property_connection_speed()
1097 {
1098 return Glib::PropertyProxy< guint64 >(this, "connection-speed");
1099 }
1100
1101 Glib::PropertyProxy_ReadOnly< guint64 > PlayBin::property_connection_speed() const
1102 {
1103 return Glib::PropertyProxy_ReadOnly< guint64 >(this, "connection-speed");
1104 }
1105
1106 Glib::PropertyProxy< int > PlayBin::property_buffer_size()
1107 {
1108 return Glib::PropertyProxy< int >(this, "buffer-size");
1109 }
1110
1111 Glib::PropertyProxy_ReadOnly< int > PlayBin::property_buffer_size() const
1112 {
1113 return Glib::PropertyProxy_ReadOnly< int >(this, "buffer-size");
1114 }
1115
1116 Glib::PropertyProxy< gint64 > PlayBin::property_buffer_duration()
1117 {
1118 return Glib::PropertyProxy< gint64 >(this, "buffer-duration");
1119 }
1120
1121 Glib::PropertyProxy_ReadOnly< gint64 > PlayBin::property_buffer_duration() const
1122 {
1123 return Glib::PropertyProxy_ReadOnly< gint64 >(this, "buffer-duration");
1124 }
1125
1126 Glib::PropertyProxy< gint64 > PlayBin::property_av_offset()
1127 {
1128 return Glib::PropertyProxy< gint64 >(this, "av-offset");
1129 }
1130
1131 Glib::PropertyProxy_ReadOnly< gint64 > PlayBin::property_av_offset() const
1132 {
1133 return Glib::PropertyProxy_ReadOnly< gint64 >(this, "av-offset");
1134 }
1135
1136 Glib::PropertyProxy< guint64 > PlayBin::property_ring_buffer_max_size()
1137 {
1138 return Glib::PropertyProxy< guint64 >(this, "ring-buffer-max-size");
1139 }
1140
1141 Glib::PropertyProxy_ReadOnly< guint64 > PlayBin::property_ring_buffer_max_size() const
1142 {
1143 return Glib::PropertyProxy_ReadOnly< guint64 >(this, "ring-buffer-max-size");
1144 }
1145
1146 Glib::PropertyProxy< bool > PlayBin::property_force_aspect_ratio()
1147 {
1148 return Glib::PropertyProxy< bool >(this, "force-aspect-ratio");
1149 }
1150
1151 Glib::PropertyProxy_ReadOnly< bool > PlayBin::property_force_aspect_ratio() const
1152 {
1153 return Glib::PropertyProxy_ReadOnly< bool >(this, "force-aspect-ratio");
1154 }
1155
1156 Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin::property_audio_filter()
1157 {
1158 return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "audio-filter");
1159 }
1160
1161 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin::property_audio_filter() const
1162 {
1163 return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "audio-filter");
1164 }
1165
1166 Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin::property_video_filter()
1167 {
1168 return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "video-filter");
1169 }
1170
1171 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin::property_video_filter() const
1172 {
1173 return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "video-filter");
1174 }
1175
1176 Glib::PropertyProxy< Gst::VideoMultiviewFramePacking > PlayBin::property_video_multiview_mode()
1177 {
1178 return Glib::PropertyProxy< Gst::VideoMultiviewFramePacking >(this, "video-multiview-mode");
1179 }
1180
1181 Glib::PropertyProxy_ReadOnly< Gst::VideoMultiviewFramePacking > PlayBin::property_video_multiview_mode() const
1182 {
1183 return Glib::PropertyProxy_ReadOnly< Gst::VideoMultiviewFramePacking >(this, "video-multiview-mode");
1184 }
1185
1186 Glib::PropertyProxy< Gst::VideoMultiviewFlags > PlayBin::property_video_multiview_flags()
1187 {
1188 return Glib::PropertyProxy< Gst::VideoMultiviewFlags >(this, "video-multiview-flags");
1189 }
1190
1191 Glib::PropertyProxy_ReadOnly< Gst::VideoMultiviewFlags > PlayBin::property_video_multiview_flags() const
1192 {
1193 return Glib::PropertyProxy_ReadOnly< Gst::VideoMultiviewFlags >(this, "video-multiview-flags");
1194 }
1195
1196
1197 } // namespace Gst
1198
1199 #endif // GSTREAMERMM_DISABLE_DEPRECATED
1200
1201