| 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/appsrc.h> |
| 11 | #include <gstreamermm/private/appsrc_p.h> |
| 12 | |
| 13 | |
| 14 | // Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 15 | |
| 16 | |
| 17 | extern "C" |
| 18 | { |
| 19 | |
| 20 | static GType gst_app_stream_type_get_type() |
| 21 | { |
| 22 | static GType const type = g_type_from_name("GstAppStreamType"); |
| 23 | return type; |
| 24 | } |
| 25 | |
| 26 | GType gst_app_src_gstreamermm_get_type() |
| 27 | { |
| 28 | static GType type = 0; |
| 29 | GstElementFactory* factory = 0; |
| 30 | GstPluginFeature* feature = 0; |
| 31 | |
| 32 | if(!type) |
| 33 | { |
| 34 | factory = gst_element_factory_find("appsrc"); |
| 35 | // Make sure that the feature is actually loaded: |
| 36 | if(factory) |
| 37 | { |
| 38 | feature = |
| 39 | gst_plugin_feature_load(GST_PLUGIN_FEATURE(factory)); |
| 40 | |
| 41 | g_object_unref(factory); |
| 42 | factory = GST_ELEMENT_FACTORY(feature); |
| 43 | type = gst_element_factory_get_element_type(factory); |
| 44 | g_object_unref(factory); |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | return type; |
| 49 | } |
| 50 | |
| 51 | } // extern "C" |
| 52 | |
| 53 | namespace Gst |
| 54 | { |
| 55 | |
| 56 | AppSrc::AppSrc() |
| 57 | : // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 58 | Glib::ObjectBase(nullptr), |
| 59 | Gst::BaseSrc(Glib::ConstructParams(appsrc_class_.init(), "name",static_cast<char*>(0), nullptr)) |
| 60 | {} |
| 61 | |
| 62 | AppSrc::AppSrc(const Glib::ustring& name) |
| 63 | : // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 64 | Glib::ObjectBase(nullptr), |
| 65 | Gst::BaseSrc(Glib::ConstructParams(appsrc_class_.init(), "name",name.c_str(), nullptr)) |
| 66 | {} |
| 67 | |
| 68 | Gst::FlowReturn AppSrc::push_buffer(const Glib::RefPtr<Gst::Buffer>& arg0) |
| 69 | { |
| 70 | GstFlowReturn result; |
| 71 | g_signal_emit_by_name(gobj(), "push-buffer", Glib::unwrap(arg0), &result, static_cast<void*>(0)); |
| 72 | return ((Gst::FlowReturn)(result)); |
| 73 | } |
| 74 | |
| 75 | Gst::FlowReturn AppSrc::push_sample(const Glib::RefPtr<Gst::Sample>& arg0) |
| 76 | { |
| 77 | GstFlowReturn result; |
| 78 | g_signal_emit_by_name(gobj(), "push-sample", Glib::unwrap(arg0), &result, static_cast<void*>(0)); |
| 79 | return ((Gst::FlowReturn)(result)); |
| 80 | } |
| 81 | |
| 82 | Gst::FlowReturn AppSrc::end_of_stream() |
| 83 | { |
| 84 | GstFlowReturn result; |
| 85 | g_signal_emit_by_name(gobj(), "end-of-stream", &result, static_cast<void*>(0)); |
| 86 | return ((Gst::FlowReturn)(result)); |
| 87 | } |
| 88 | |
| 89 | } |
| 90 | |
| 91 | namespace |
| 92 | { |
| 93 | |
| 94 | |
| 95 | static void AppSrc_signal_need_data_callback(GstAppSrc* self, guint p0,void* data) |
| 96 | { |
| 97 | using namespace Gst; |
| 98 | using SlotType = sigc::slot< void,guint >; |
| 99 | |
| 100 | auto obj = dynamic_cast<AppSrc*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); |
| 101 | // Do not try to call a signal on a disassociated wrapper. |
| 102 | if(obj) |
| 103 | { |
| 104 | try |
| 105 | { |
| 106 | if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) |
| 107 | (*static_cast<SlotType*>(slot))(p0); |
| 108 | } |
| 109 | catch(...) |
| 110 | { |
| 111 | Glib::exception_handlers_invoke(); |
| 112 | } |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | static const Glib::SignalProxyInfo AppSrc_signal_need_data_info = |
| 117 | { |
| 118 | "need-data", |
| 119 | (GCallback) &AppSrc_signal_need_data_callback, |
| 120 | (GCallback) &AppSrc_signal_need_data_callback |
| 121 | }; |
| 122 | |
| 123 | |
| 124 | static const Glib::SignalProxyInfo AppSrc_signal_enough_data_info = |
| 125 | { |
| 126 | "enough-data", |
| 127 | (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, |
| 128 | (GCallback) &Glib::SignalProxyNormal::slot0_void_callback |
| 129 | }; |
| 130 | |
| 131 | |
| 132 | static gboolean AppSrc_signal_seek_data_callback(GstAppSrc* self, guint64 p0,void* data) |
| 133 | { |
| 134 | using namespace Gst; |
| 135 | using SlotType = sigc::slot< bool,guint64 >; |
| 136 | |
| 137 | auto obj = dynamic_cast<AppSrc*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); |
| 138 | // Do not try to call a signal on a disassociated wrapper. |
| 139 | if(obj) |
| 140 | { |
| 141 | try |
| 142 | { |
| 143 | if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) |
| 144 | return static_cast<int>((*static_cast<SlotType*>(slot))(p0)); |
| 145 | } |
| 146 | catch(...) |
| 147 | { |
| 148 | Glib::exception_handlers_invoke(); |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | using RType = gboolean; |
| 153 | return RType(); |
| 154 | } |
| 155 | |
| 156 | static gboolean AppSrc_signal_seek_data_notify_callback(GstAppSrc* self, guint64 p0, void* data) |
| 157 | { |
| 158 | using namespace Gst; |
| 159 | using SlotType = sigc::slot< void,guint64 >; |
| 160 | |
| 161 | auto obj = dynamic_cast<AppSrc*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); |
| 162 | // Do not try to call a signal on a disassociated wrapper. |
| 163 | if(obj) |
| 164 | { |
| 165 | try |
| 166 | { |
| 167 | if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) |
| 168 | (*static_cast<SlotType*>(slot))(p0); |
| 169 | } |
| 170 | catch(...) |
| 171 | { |
| 172 | Glib::exception_handlers_invoke(); |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | using RType = gboolean; |
| 177 | return RType(); |
| 178 | } |
| 179 | |
| 180 | static const Glib::SignalProxyInfo AppSrc_signal_seek_data_info = |
| 181 | { |
| 182 | "seek-data", |
| 183 | (GCallback) &AppSrc_signal_seek_data_callback, |
| 184 | (GCallback) &AppSrc_signal_seek_data_notify_callback |
| 185 | }; |
| 186 | |
| 187 | |
| 188 | static GstFlowReturn AppSrc_signal_push_buffer_callback(GstAppSrc* self, GstBuffer* p0,void* data) |
| 189 | { |
| 190 | using namespace Gst; |
| 191 | using SlotType = sigc::slot< Gst::FlowReturn,const Glib::RefPtr<Gst::Buffer>& >; |
| 192 | |
| 193 | auto obj = dynamic_cast<AppSrc*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); |
| 194 | // Do not try to call a signal on a disassociated wrapper. |
| 195 | if(obj) |
| 196 | { |
| 197 | try |
| 198 | { |
| 199 | if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) |
| 200 | return ((GstFlowReturn)((*static_cast<SlotType*>(slot))(Glib::wrap(p0, true) |
| 201 | ))); |
| 202 | } |
| 203 | catch(...) |
| 204 | { |
| 205 | Glib::exception_handlers_invoke(); |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | using RType = GstFlowReturn; |
| 210 | return RType(); |
| 211 | } |
| 212 | |
| 213 | static GstFlowReturn AppSrc_signal_push_buffer_notify_callback(GstAppSrc* self, GstBuffer* p0, void* data) |
| 214 | { |
| 215 | using namespace Gst; |
| 216 | using SlotType = sigc::slot< void,const Glib::RefPtr<Gst::Buffer>& >; |
| 217 | |
| 218 | auto obj = dynamic_cast<AppSrc*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); |
| 219 | // Do not try to call a signal on a disassociated wrapper. |
| 220 | if(obj) |
| 221 | { |
| 222 | try |
| 223 | { |
| 224 | if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) |
| 225 | (*static_cast<SlotType*>(slot))(Glib::wrap(p0, true) |
| 226 | ); |
| 227 | } |
| 228 | catch(...) |
| 229 | { |
| 230 | Glib::exception_handlers_invoke(); |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | using RType = GstFlowReturn; |
| 235 | return RType(); |
| 236 | } |
| 237 | |
| 238 | static const Glib::SignalProxyInfo AppSrc_signal_push_buffer_info = |
| 239 | { |
| 240 | "push-buffer", |
| 241 | (GCallback) &AppSrc_signal_push_buffer_callback, |
| 242 | (GCallback) &AppSrc_signal_push_buffer_notify_callback |
| 243 | }; |
| 244 | |
| 245 | |
| 246 | static GstFlowReturn AppSrc_signal_push_sample_callback(GstAppSrc* self, GstSample* p0,void* data) |
| 247 | { |
| 248 | using namespace Gst; |
| 249 | using SlotType = sigc::slot< Gst::FlowReturn,const Glib::RefPtr<Gst::Sample>& >; |
| 250 | |
| 251 | auto obj = dynamic_cast<AppSrc*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); |
| 252 | // Do not try to call a signal on a disassociated wrapper. |
| 253 | if(obj) |
| 254 | { |
| 255 | try |
| 256 | { |
| 257 | if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) |
| 258 | return ((GstFlowReturn)((*static_cast<SlotType*>(slot))(Glib::wrap(p0, true) |
| 259 | ))); |
| 260 | } |
| 261 | catch(...) |
| 262 | { |
| 263 | Glib::exception_handlers_invoke(); |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | using RType = GstFlowReturn; |
| 268 | return RType(); |
| 269 | } |
| 270 | |
| 271 | static GstFlowReturn AppSrc_signal_push_sample_notify_callback(GstAppSrc* self, GstSample* p0, void* data) |
| 272 | { |
| 273 | using namespace Gst; |
| 274 | using SlotType = sigc::slot< void,const Glib::RefPtr<Gst::Sample>& >; |
| 275 | |
| 276 | auto obj = dynamic_cast<AppSrc*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); |
| 277 | // Do not try to call a signal on a disassociated wrapper. |
| 278 | if(obj) |
| 279 | { |
| 280 | try |
| 281 | { |
| 282 | if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) |
| 283 | (*static_cast<SlotType*>(slot))(Glib::wrap(p0, true) |
| 284 | ); |
| 285 | } |
| 286 | catch(...) |
| 287 | { |
| 288 | Glib::exception_handlers_invoke(); |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | using RType = GstFlowReturn; |
| 293 | return RType(); |
| 294 | } |
| 295 | |
| 296 | static const Glib::SignalProxyInfo AppSrc_signal_push_sample_info = |
| 297 | { |
| 298 | "push-sample", |
| 299 | (GCallback) &AppSrc_signal_push_sample_callback, |
| 300 | (GCallback) &AppSrc_signal_push_sample_notify_callback |
| 301 | }; |
| 302 | |
| 303 | |
| 304 | static GstFlowReturn AppSrc_signal_end_of_stream_callback(GstAppSrc* self, void* data) |
| 305 | { |
| 306 | using namespace Gst; |
| 307 | using SlotType = sigc::slot< Gst::FlowReturn >; |
| 308 | |
| 309 | auto obj = dynamic_cast<AppSrc*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); |
| 310 | // Do not try to call a signal on a disassociated wrapper. |
| 311 | if(obj) |
| 312 | { |
| 313 | try |
| 314 | { |
| 315 | if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) |
| 316 | return ((GstFlowReturn)((*static_cast<SlotType*>(slot))())); |
| 317 | } |
| 318 | catch(...) |
| 319 | { |
| 320 | Glib::exception_handlers_invoke(); |
| 321 | } |
| 322 | } |
| 323 | |
| 324 | using RType = GstFlowReturn; |
| 325 | return RType(); |
| 326 | } |
| 327 | |
| 328 | static GstFlowReturn AppSrc_signal_end_of_stream_notify_callback(GstAppSrc* self, void* data) |
| 329 | { |
| 330 | using namespace Gst; |
| 331 | using SlotType = sigc::slot< void >; |
| 332 | |
| 333 | auto obj = dynamic_cast<AppSrc*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self)); |
| 334 | // Do not try to call a signal on a disassociated wrapper. |
| 335 | if(obj) |
| 336 | { |
| 337 | try |
| 338 | { |
| 339 | if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data)) |
| 340 | (*static_cast<SlotType*>(slot))(); |
| 341 | } |
| 342 | catch(...) |
| 343 | { |
| 344 | Glib::exception_handlers_invoke(); |
| 345 | } |
| 346 | } |
| 347 | |
| 348 | using RType = GstFlowReturn; |
| 349 | return RType(); |
| 350 | } |
| 351 | |
| 352 | static const Glib::SignalProxyInfo AppSrc_signal_end_of_stream_info = |
| 353 | { |
| 354 | "end-of-stream", |
| 355 | (GCallback) &AppSrc_signal_end_of_stream_callback, |
| 356 | (GCallback) &AppSrc_signal_end_of_stream_notify_callback |
| 357 | }; |
| 358 | |
| 359 | |
| 360 | } // anonymous namespace |
| 361 | |
| 362 | // static |
| 363 | GType Glib::Value<Gst::AppStreamType>::value_type() |
| 364 | { |
| 365 | return gst_app_stream_type_get_type(); |
| 366 | } |
| 367 | |
| 368 | |
| 369 | namespace Glib |
| 370 | { |
| 371 | |
| 372 | Glib::RefPtr<Gst::AppSrc> wrap(GstAppSrc* object, bool take_copy) |
| 373 | { |
| 374 | return Glib::RefPtr<Gst::AppSrc>( dynamic_cast<Gst::AppSrc*> (Glib::wrap_auto ((GObject*)(object), take_copy)) ); |
| 375 | //We use dynamic_cast<> in case of multiple inheritance. |
| 376 | } |
| 377 | |
| 378 | } /* namespace Glib */ |
| 379 | |
| 380 | |
| 381 | namespace Gst |
| 382 | { |
| 383 | |
| 384 | |
| 385 | /* The *_Class implementation: */ |
| 386 | |
| 387 | const Glib::Class& AppSrc_Class::init() |
| 388 | { |
| 389 | if(!gtype_) // create the GType if necessary |
| 390 | { |
| 391 | // Glib::Class has to know the class init function to clone custom types. |
| 392 | class_init_func_ = &AppSrc_Class::class_init_function; |
| 393 | |
| 394 | // This is actually just optimized away, apparently with no harm. |
| 395 | // Make sure that the parent type has been created. |
| 396 | //CppClassParent::CppObjectType::get_type(); |
| 397 | |
| 398 | // Create the wrapper type, with the same class/instance size as the base type. |
| 399 | register_derived_type(gst_app_src_gstreamermm_get_type()); |
| 400 | |
| 401 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 402 | Gst::URIHandler::add_interface(get_type()); |
| 403 | |
| 404 | } |
| 405 | |
| 406 | return *this; |
| 407 | } |
| 408 | |
| 409 | |
| 410 | void AppSrc_Class::class_init_function(void* g_class, void* class_data) |
| 411 | { |
| 412 | const auto klass = static_cast<BaseClassType*>(g_class); |
| 413 | CppClassParent::class_init_function(klass, class_data); |
| 414 | |
| 415 | |
| 416 | } |
| 417 | |
| 418 | |
| 419 | Glib::ObjectBase* AppSrc_Class::wrap_new(GObject* object) |
| 420 | { |
| 421 | return new AppSrc((GstAppSrc*)object); |
| 422 | } |
| 423 | |
| 424 | |
| 425 | /* The implementation: */ |
| 426 | |
| 427 | GstAppSrc* AppSrc::gobj_copy() |
| 428 | { |
| 429 | reference(); |
| 430 | return gobj(); |
| 431 | } |
| 432 | |
| 433 | AppSrc::AppSrc(const Glib::ConstructParams& construct_params) |
| 434 | : |
| 435 | Gst::BaseSrc(construct_params) |
| 436 | { |
| 437 | |
| 438 | } |
| 439 | |
| 440 | AppSrc::AppSrc(GstAppSrc* castitem) |
| 441 | : |
| 442 | Gst::BaseSrc((GstBaseSrc*)(castitem)) |
| 443 | {} |
| 444 | |
| 445 | |
| 446 | AppSrc::AppSrc(AppSrc&& src) noexcept |
| 447 | : Gst::BaseSrc(std::move(src)) |
| 448 | , Gst::URIHandler(std::move(src)) |
| 449 | {} |
| 450 | |
| 451 | AppSrc& AppSrc::operator=(AppSrc&& src) noexcept |
| 452 | { |
| 453 | Gst::BaseSrc::operator=(std::move(src)); |
| 454 | Gst::URIHandler::operator=(std::move(src)); |
| 455 | return *this; |
| 456 | } |
| 457 | |
| 458 | |
| 459 | AppSrc::~AppSrc() noexcept |
| 460 | {} |
| 461 | |
| 462 | |
| 463 | AppSrc::CppClassType AppSrc::appsrc_class_; // initialize static member |
| 464 | |
| 465 | GType AppSrc::get_type() |
| 466 | { |
| 467 | return appsrc_class_.init().get_type(); |
| 468 | } |
| 469 | |
| 470 | |
| 471 | GType AppSrc::get_base_type() |
| 472 | { |
| 473 | return gst_app_src_gstreamermm_get_type(); |
| 474 | } |
| 475 | |
| 476 | |
| 477 | Glib::RefPtr<AppSrc> AppSrc::create() |
| 478 | { |
| 479 | return Glib::RefPtr<AppSrc>( new AppSrc() ); |
| 480 | } |
| 481 | |
| 482 | Glib::RefPtr<AppSrc> AppSrc::create(const Glib::ustring& name) |
| 483 | { |
| 484 | return Glib::RefPtr<AppSrc>( new AppSrc(name) ); |
| 485 | } |
| 486 | |
| 487 | |
| 488 | Glib::SignalProxy< void,guint > AppSrc::signal_need_data() |
| 489 | { |
| 490 | return Glib::SignalProxy< void,guint >(this, &AppSrc_signal_need_data_info); |
| 491 | } |
| 492 | |
| 493 | |
| 494 | Glib::SignalProxy< void > AppSrc::signal_enough_data() |
| 495 | { |
| 496 | return Glib::SignalProxy< void >(this, &AppSrc_signal_enough_data_info); |
| 497 | } |
| 498 | |
| 499 | |
| 500 | Glib::SignalProxy< bool,guint64 > AppSrc::signal_seek_data() |
| 501 | { |
| 502 | return Glib::SignalProxy< bool,guint64 >(this, &AppSrc_signal_seek_data_info); |
| 503 | } |
| 504 | |
| 505 | |
| 506 | Glib::SignalProxy< Gst::FlowReturn,const Glib::RefPtr<Gst::Buffer>& > AppSrc::signal_push_buffer() |
| 507 | { |
| 508 | return Glib::SignalProxy< Gst::FlowReturn,const Glib::RefPtr<Gst::Buffer>& >(this, &AppSrc_signal_push_buffer_info); |
| 509 | } |
| 510 | |
| 511 | |
| 512 | Glib::SignalProxy< Gst::FlowReturn,const Glib::RefPtr<Gst::Sample>& > AppSrc::signal_push_sample() |
| 513 | { |
| 514 | return Glib::SignalProxy< Gst::FlowReturn,const Glib::RefPtr<Gst::Sample>& >(this, &AppSrc_signal_push_sample_info); |
| 515 | } |
| 516 | |
| 517 | |
| 518 | Glib::SignalProxy< Gst::FlowReturn > AppSrc::signal_end_of_stream() |
| 519 | { |
| 520 | return Glib::SignalProxy< Gst::FlowReturn >(this, &AppSrc_signal_end_of_stream_info); |
| 521 | } |
| 522 | |
| 523 | |
| 524 | Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > AppSrc::property_caps() |
| 525 | { |
| 526 | return Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> >(this, "caps"); |
| 527 | } |
| 528 | |
| 529 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > AppSrc::property_caps() const |
| 530 | { |
| 531 | return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> >(this, "caps"); |
| 532 | } |
| 533 | |
| 534 | Glib::PropertyProxy< gint64 > AppSrc::property_size() |
| 535 | { |
| 536 | return Glib::PropertyProxy< gint64 >(this, "size"); |
| 537 | } |
| 538 | |
| 539 | Glib::PropertyProxy_ReadOnly< gint64 > AppSrc::property_size() const |
| 540 | { |
| 541 | return Glib::PropertyProxy_ReadOnly< gint64 >(this, "size"); |
| 542 | } |
| 543 | |
| 544 | Glib::PropertyProxy< Gst::AppStreamType > AppSrc::property_stream_type() |
| 545 | { |
| 546 | return Glib::PropertyProxy< Gst::AppStreamType >(this, "stream-type"); |
| 547 | } |
| 548 | |
| 549 | Glib::PropertyProxy_ReadOnly< Gst::AppStreamType > AppSrc::property_stream_type() const |
| 550 | { |
| 551 | return Glib::PropertyProxy_ReadOnly< Gst::AppStreamType >(this, "stream-type"); |
| 552 | } |
| 553 | |
| 554 | Glib::PropertyProxy< guint64 > AppSrc::property_max_bytes() |
| 555 | { |
| 556 | return Glib::PropertyProxy< guint64 >(this, "max-bytes"); |
| 557 | } |
| 558 | |
| 559 | Glib::PropertyProxy_ReadOnly< guint64 > AppSrc::property_max_bytes() const |
| 560 | { |
| 561 | return Glib::PropertyProxy_ReadOnly< guint64 >(this, "max-bytes"); |
| 562 | } |
| 563 | |
| 564 | Glib::PropertyProxy< Gst::Format > AppSrc::property_format() |
| 565 | { |
| 566 | return Glib::PropertyProxy< Gst::Format >(this, "format"); |
| 567 | } |
| 568 | |
| 569 | Glib::PropertyProxy_ReadOnly< Gst::Format > AppSrc::property_format() const |
| 570 | { |
| 571 | return Glib::PropertyProxy_ReadOnly< Gst::Format >(this, "format"); |
| 572 | } |
| 573 | |
| 574 | Glib::PropertyProxy< bool > AppSrc::property_block() |
| 575 | { |
| 576 | return Glib::PropertyProxy< bool >(this, "block"); |
| 577 | } |
| 578 | |
| 579 | Glib::PropertyProxy_ReadOnly< bool > AppSrc::property_block() const |
| 580 | { |
| 581 | return Glib::PropertyProxy_ReadOnly< bool >(this, "block"); |
| 582 | } |
| 583 | |
| 584 | Glib::PropertyProxy< bool > AppSrc::property_is_live() |
| 585 | { |
| 586 | return Glib::PropertyProxy< bool >(this, "is-live"); |
| 587 | } |
| 588 | |
| 589 | Glib::PropertyProxy_ReadOnly< bool > AppSrc::property_is_live() const |
| 590 | { |
| 591 | return Glib::PropertyProxy_ReadOnly< bool >(this, "is-live"); |
| 592 | } |
| 593 | |
| 594 | Glib::PropertyProxy< gint64 > AppSrc::property_min_latency() |
| 595 | { |
| 596 | return Glib::PropertyProxy< gint64 >(this, "min-latency"); |
| 597 | } |
| 598 | |
| 599 | Glib::PropertyProxy_ReadOnly< gint64 > AppSrc::property_min_latency() const |
| 600 | { |
| 601 | return Glib::PropertyProxy_ReadOnly< gint64 >(this, "min-latency"); |
| 602 | } |
| 603 | |
| 604 | Glib::PropertyProxy< gint64 > AppSrc::property_max_latency() |
| 605 | { |
| 606 | return Glib::PropertyProxy< gint64 >(this, "max-latency"); |
| 607 | } |
| 608 | |
| 609 | Glib::PropertyProxy_ReadOnly< gint64 > AppSrc::property_max_latency() const |
| 610 | { |
| 611 | return Glib::PropertyProxy_ReadOnly< gint64 >(this, "max-latency"); |
| 612 | } |
| 613 | |
| 614 | Glib::PropertyProxy< bool > AppSrc::property_emit_signals() |
| 615 | { |
| 616 | return Glib::PropertyProxy< bool >(this, "emit-signals"); |
| 617 | } |
| 618 | |
| 619 | Glib::PropertyProxy_ReadOnly< bool > AppSrc::property_emit_signals() const |
| 620 | { |
| 621 | return Glib::PropertyProxy_ReadOnly< bool >(this, "emit-signals"); |
| 622 | } |
| 623 | |
| 624 | Glib::PropertyProxy< guint > AppSrc::property_min_percent() |
| 625 | { |
| 626 | return Glib::PropertyProxy< guint >(this, "min-percent"); |
| 627 | } |
| 628 | |
| 629 | Glib::PropertyProxy_ReadOnly< guint > AppSrc::property_min_percent() const |
| 630 | { |
| 631 | return Glib::PropertyProxy_ReadOnly< guint >(this, "min-percent"); |
| 632 | } |
| 633 | |
| 634 | Glib::PropertyProxy_ReadOnly< guint64 > AppSrc::property_current_level_bytes() const |
| 635 | { |
| 636 | return Glib::PropertyProxy_ReadOnly< guint64 >(this, "current-level-bytes"); |
| 637 | } |
| 638 | |
| 639 | |
| 640 | } // namespace Gst |
| 641 | |
| 642 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 643 | |
| 644 |