| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY! |
| 2 | #ifndef _GSTREAMERMM_PLAYBIN_H |
| 3 | #define _GSTREAMERMM_PLAYBIN_H |
| 4 | |
| 5 | #include <gstreamermmconfig.h> |
| 6 | |
| 7 | #ifndef GSTREAMERMM_DISABLE_DEPRECATED |
| 8 | |
| 9 | |
| 10 | #include <glibmm/ustring.h> |
| 11 | #include <sigc++/sigc++.h> |
| 12 | |
| 13 | // Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 14 | |
| 15 | |
| 16 | #include <gstreamermm/pipeline.h> |
| 17 | #include <gstreamermm/element.h> |
| 18 | #include <gstreamermm/enums.h> |
| 19 | #include <gstreamermm/sample.h> |
| 20 | #include <gstreamermm/videoinfo.h> |
| 21 | #include <gstreamermm/videoinfo.h> |
| 22 | #include <gstreamermm/taglist.h> |
| 23 | #include <gstreamermm/caps.h> |
| 24 | #include <gstreamermm/pad.h> |
| 25 | #include <gstreamermm/streamvolume.h> |
| 26 | #include <gstreamermm/videooverlay.h> |
| 27 | #include <gstreamermm/navigation.h> |
| 28 | #include <gstreamermm/colorbalance.h> |
| 29 | |
| 30 | |
| 31 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 32 | using GstPlayBin = struct _GstPlayBin; |
| 33 | using GstPlayBinClass = struct _GstPlayBinClass; |
| 34 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 35 | |
| 36 | |
| 37 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 38 | namespace Gst |
| 39 | { class PlayBin_Class; } // namespace Gst |
| 40 | #endif //DOXYGEN_SHOULD_SKIP_THIS |
| 41 | |
| 42 | namespace Gst |
| 43 | { |
| 44 | |
| 45 | /** A Wrapper for the playbin plugin. |
| 46 | * Please note that not all plug-ins are available on all systems so care |
| 47 | * must be taken that they exist before they are used otherwise there will |
| 48 | * be errors and possibly a crash. |
| 49 | * |
| 50 | * @ingroup GstPlugins |
| 51 | * @deprecated Plugins API is deprecated, and should not be used in a new code. |
| 52 | */ |
| 53 | |
| 54 | class PlayBin |
| 55 | : public Gst::Pipeline, public Gst::StreamVolume, public Gst::VideoOverlay, public Gst::Navigation, public Gst::ColorBalance |
| 56 | { |
| 57 | |
| 58 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 59 | |
| 60 | public: |
| 61 | using CppObjectType = PlayBin; |
| 62 | using CppClassType = PlayBin_Class; |
| 63 | using BaseObjectType = GstPlayBin; |
| 64 | using BaseClassType = GstPlayBinClass; |
| 65 | |
| 66 | // noncopyable |
| 67 | PlayBin(const PlayBin&) = delete; |
| 68 | PlayBin& operator=(const PlayBin&) = delete; |
| 69 | |
| 70 | private: friend class PlayBin_Class; |
| 71 | static CppClassType playbin_class_; |
| 72 | |
| 73 | protected: |
| 74 | explicit PlayBin(const Glib::ConstructParams& construct_params); |
| 75 | explicit PlayBin(GstPlayBin* castitem); |
| 76 | |
| 77 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 78 | |
| 79 | public: |
| 80 | |
| 81 | PlayBin(PlayBin&& src) noexcept; |
| 82 | PlayBin& operator=(PlayBin&& src) noexcept; |
| 83 | |
| 84 | ~PlayBin() noexcept override; |
| 85 | |
| 86 | /** Get the GType for this class, for use with the underlying GObject type system. |
| 87 | */ |
| 88 | static GType get_type() G_GNUC_CONST; |
| 89 | |
| 90 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 91 | |
| 92 | |
| 93 | static GType get_base_type() G_GNUC_CONST; |
| 94 | #endif |
| 95 | |
| 96 | ///Provides access to the underlying C GObject. |
| 97 | GstPlayBin* gobj() { return reinterpret_cast<GstPlayBin*>(gobject_); } |
| 98 | |
| 99 | ///Provides access to the underlying C GObject. |
| 100 | const GstPlayBin* gobj() const { return reinterpret_cast<GstPlayBin*>(gobject_); } |
| 101 | |
| 102 | ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. |
| 103 | GstPlayBin* gobj_copy(); |
| 104 | |
| 105 | private: |
| 106 | |
| 107 | |
| 108 | protected: |
| 109 | PlayBin(); |
| 110 | explicit PlayBin(const Glib::ustring& name); |
| 111 | |
| 112 | public: |
| 113 | /** Creates a new playbin plugin with a unique name. |
| 114 | */ |
| 115 | |
| 116 | static Glib::RefPtr<PlayBin> create(); |
| 117 | |
| 118 | |
| 119 | /** Creates a new playbin plugin with the given name. |
| 120 | */ |
| 121 | |
| 122 | static Glib::RefPtr<PlayBin> create(const Glib::ustring& name); |
| 123 | |
| 124 | |
| 125 | /** This is a convenience method for the action signal |
| 126 | * signal_get_video_tags(). |
| 127 | */ |
| 128 | Gst::TagList get_video_tags(int arg0); |
| 129 | |
| 130 | /** This is a convenience method for the action signal |
| 131 | * signal_get_audio_tags(). |
| 132 | */ |
| 133 | Gst::TagList get_audio_tags(int arg0); |
| 134 | |
| 135 | /** This is a convenience method for the action signal |
| 136 | * signal_get_text_tags(). |
| 137 | */ |
| 138 | Gst::TagList get_text_tags(int arg0); |
| 139 | |
| 140 | /** This is a convenience method for the action signal |
| 141 | * signal_convert_sample(). |
| 142 | */ |
| 143 | Glib::RefPtr<Gst::Sample> convert_sample(const Glib::RefPtr<Gst::Caps>& arg0); |
| 144 | |
| 145 | /** This is a convenience method for the action signal |
| 146 | * signal_get_video_pad(). |
| 147 | */ |
| 148 | Glib::RefPtr<Gst::Pad> get_video_pad(int arg0); |
| 149 | |
| 150 | /** This is a convenience method for the action signal |
| 151 | * signal_get_audio_pad(). |
| 152 | */ |
| 153 | Glib::RefPtr<Gst::Pad> get_audio_pad(int arg0); |
| 154 | |
| 155 | /** This is a convenience method for the action signal |
| 156 | * signal_get_text_pad(). |
| 157 | */ |
| 158 | Glib::RefPtr<Gst::Pad> get_text_pad(int arg0); |
| 159 | |
| 160 | |
| 161 | /** URI of the media to play. |
| 162 | * |
| 163 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 164 | * or receive notification when the value of the property changes. |
| 165 | */ |
| 166 | Glib::PropertyProxy< Glib::ustring > property_uri() ; |
| 167 | |
| 168 | /** URI of the media to play. |
| 169 | * |
| 170 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 171 | * or receive notification when the value of the property changes. |
| 172 | */ |
| 173 | Glib::PropertyProxy_ReadOnly< Glib::ustring > property_uri() const; |
| 174 | |
| 175 | /** The currently playing URI. |
| 176 | * |
| 177 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 178 | * or receive notification when the value of the property changes. |
| 179 | */ |
| 180 | Glib::PropertyProxy_ReadOnly< Glib::ustring > property_current_uri() const; |
| 181 | |
| 182 | |
| 183 | /** Optional URI of a subtitle. |
| 184 | * |
| 185 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 186 | * or receive notification when the value of the property changes. |
| 187 | */ |
| 188 | Glib::PropertyProxy< Glib::ustring > property_suburi() ; |
| 189 | |
| 190 | /** Optional URI of a subtitle. |
| 191 | * |
| 192 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 193 | * or receive notification when the value of the property changes. |
| 194 | */ |
| 195 | Glib::PropertyProxy_ReadOnly< Glib::ustring > property_suburi() const; |
| 196 | |
| 197 | /** The currently playing URI of a subtitle. |
| 198 | * |
| 199 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 200 | * or receive notification when the value of the property changes. |
| 201 | */ |
| 202 | Glib::PropertyProxy_ReadOnly< Glib::ustring > property_current_suburi() const; |
| 203 | |
| 204 | |
| 205 | /** Source element. |
| 206 | * |
| 207 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 208 | * or receive notification when the value of the property changes. |
| 209 | */ |
| 210 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > property_source() const; |
| 211 | |
| 212 | |
| 213 | /** Flags to control behaviour. |
| 214 | * |
| 215 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 216 | * or receive notification when the value of the property changes. |
| 217 | */ |
| 218 | Glib::PropertyProxy< Gst::PlayFlags > property_flags() ; |
| 219 | |
| 220 | /** Flags to control behaviour. |
| 221 | * |
| 222 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 223 | * or receive notification when the value of the property changes. |
| 224 | */ |
| 225 | Glib::PropertyProxy_ReadOnly< Gst::PlayFlags > property_flags() const; |
| 226 | |
| 227 | /** Total number of video streams. |
| 228 | * |
| 229 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 230 | * or receive notification when the value of the property changes. |
| 231 | */ |
| 232 | Glib::PropertyProxy_ReadOnly< int > property_n_video() const; |
| 233 | |
| 234 | |
| 235 | /** Currently playing video stream (-1 = auto). |
| 236 | * |
| 237 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 238 | * or receive notification when the value of the property changes. |
| 239 | */ |
| 240 | Glib::PropertyProxy< int > property_current_video() ; |
| 241 | |
| 242 | /** Currently playing video stream (-1 = auto). |
| 243 | * |
| 244 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 245 | * or receive notification when the value of the property changes. |
| 246 | */ |
| 247 | Glib::PropertyProxy_ReadOnly< int > property_current_video() const; |
| 248 | |
| 249 | /** Total number of audio streams. |
| 250 | * |
| 251 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 252 | * or receive notification when the value of the property changes. |
| 253 | */ |
| 254 | Glib::PropertyProxy_ReadOnly< int > property_n_audio() const; |
| 255 | |
| 256 | |
| 257 | /** Currently playing audio stream (-1 = auto). |
| 258 | * |
| 259 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 260 | * or receive notification when the value of the property changes. |
| 261 | */ |
| 262 | Glib::PropertyProxy< int > property_current_audio() ; |
| 263 | |
| 264 | /** Currently playing audio stream (-1 = auto). |
| 265 | * |
| 266 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 267 | * or receive notification when the value of the property changes. |
| 268 | */ |
| 269 | Glib::PropertyProxy_ReadOnly< int > property_current_audio() const; |
| 270 | |
| 271 | /** Total number of text streams. |
| 272 | * |
| 273 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 274 | * or receive notification when the value of the property changes. |
| 275 | */ |
| 276 | Glib::PropertyProxy_ReadOnly< int > property_n_text() const; |
| 277 | |
| 278 | |
| 279 | /** Currently playing text stream (-1 = auto). |
| 280 | * |
| 281 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 282 | * or receive notification when the value of the property changes. |
| 283 | */ |
| 284 | Glib::PropertyProxy< int > property_current_text() ; |
| 285 | |
| 286 | /** Currently playing text stream (-1 = auto). |
| 287 | * |
| 288 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 289 | * or receive notification when the value of the property changes. |
| 290 | */ |
| 291 | Glib::PropertyProxy_ReadOnly< int > property_current_text() const; |
| 292 | |
| 293 | /** Encoding to assume if input subtitles are not in UTF-8 encoding. If not set, the GST_SUBTITLE_ENCODING environment variable will be checked for an encoding to use. If that is not set either, ISO-8859-15 will be assumed. |
| 294 | * |
| 295 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 296 | * or receive notification when the value of the property changes. |
| 297 | */ |
| 298 | Glib::PropertyProxy< Glib::ustring > property_subtitle_encoding() ; |
| 299 | |
| 300 | /** Encoding to assume if input subtitles are not in UTF-8 encoding. If not set, the GST_SUBTITLE_ENCODING environment variable will be checked for an encoding to use. If that is not set either, ISO-8859-15 will be assumed. |
| 301 | * |
| 302 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 303 | * or receive notification when the value of the property changes. |
| 304 | */ |
| 305 | Glib::PropertyProxy_ReadOnly< Glib::ustring > property_subtitle_encoding() const; |
| 306 | |
| 307 | /** the audio output element to use (NULL = default sink). |
| 308 | * |
| 309 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 310 | * or receive notification when the value of the property changes. |
| 311 | */ |
| 312 | Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > property_audio_sink() ; |
| 313 | |
| 314 | /** the audio output element to use (NULL = default sink). |
| 315 | * |
| 316 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 317 | * or receive notification when the value of the property changes. |
| 318 | */ |
| 319 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > property_audio_sink() const; |
| 320 | |
| 321 | /** the video output element to use (NULL = default sink). |
| 322 | * |
| 323 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 324 | * or receive notification when the value of the property changes. |
| 325 | */ |
| 326 | Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > property_video_sink() ; |
| 327 | |
| 328 | /** the video output element to use (NULL = default sink). |
| 329 | * |
| 330 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 331 | * or receive notification when the value of the property changes. |
| 332 | */ |
| 333 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > property_video_sink() const; |
| 334 | |
| 335 | /** the visualization element to use (NULL = default). |
| 336 | * |
| 337 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 338 | * or receive notification when the value of the property changes. |
| 339 | */ |
| 340 | Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > property_vis_plugin() ; |
| 341 | |
| 342 | /** the visualization element to use (NULL = default). |
| 343 | * |
| 344 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 345 | * or receive notification when the value of the property changes. |
| 346 | */ |
| 347 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > property_vis_plugin() const; |
| 348 | |
| 349 | /** the text output element to use (NULL = default subtitleoverlay). |
| 350 | * |
| 351 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 352 | * or receive notification when the value of the property changes. |
| 353 | */ |
| 354 | Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > property_text_sink() ; |
| 355 | |
| 356 | /** the text output element to use (NULL = default subtitleoverlay). |
| 357 | * |
| 358 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 359 | * or receive notification when the value of the property changes. |
| 360 | */ |
| 361 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > property_text_sink() const; |
| 362 | |
| 363 | /** Current video stream combiner (NULL = input-selector). |
| 364 | * |
| 365 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 366 | * or receive notification when the value of the property changes. |
| 367 | */ |
| 368 | Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > property_video_stream_combiner() ; |
| 369 | |
| 370 | /** Current video stream combiner (NULL = input-selector). |
| 371 | * |
| 372 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 373 | * or receive notification when the value of the property changes. |
| 374 | */ |
| 375 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > property_video_stream_combiner() const; |
| 376 | |
| 377 | /** Current audio stream combiner (NULL = input-selector). |
| 378 | * |
| 379 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 380 | * or receive notification when the value of the property changes. |
| 381 | */ |
| 382 | Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > property_audio_stream_combiner() ; |
| 383 | |
| 384 | /** Current audio stream combiner (NULL = input-selector). |
| 385 | * |
| 386 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 387 | * or receive notification when the value of the property changes. |
| 388 | */ |
| 389 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > property_audio_stream_combiner() const; |
| 390 | |
| 391 | /** Current text stream combiner (NULL = input-selector). |
| 392 | * |
| 393 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 394 | * or receive notification when the value of the property changes. |
| 395 | */ |
| 396 | Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > property_text_stream_combiner() ; |
| 397 | |
| 398 | /** Current text stream combiner (NULL = input-selector). |
| 399 | * |
| 400 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 401 | * or receive notification when the value of the property changes. |
| 402 | */ |
| 403 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > property_text_stream_combiner() const; |
| 404 | |
| 405 | /** The audio volume, 1.0=100%. |
| 406 | * |
| 407 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 408 | * or receive notification when the value of the property changes. |
| 409 | */ |
| 410 | Glib::PropertyProxy< double > property_volume() ; |
| 411 | |
| 412 | /** The audio volume, 1.0=100%. |
| 413 | * |
| 414 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 415 | * or receive notification when the value of the property changes. |
| 416 | */ |
| 417 | Glib::PropertyProxy_ReadOnly< double > property_volume() const; |
| 418 | |
| 419 | /** Mute the audio channel without changing the volume. |
| 420 | * |
| 421 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 422 | * or receive notification when the value of the property changes. |
| 423 | */ |
| 424 | Glib::PropertyProxy< bool > property_mute() ; |
| 425 | |
| 426 | /** Mute the audio channel without changing the volume. |
| 427 | * |
| 428 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 429 | * or receive notification when the value of the property changes. |
| 430 | */ |
| 431 | Glib::PropertyProxy_ReadOnly< bool > property_mute() const; |
| 432 | |
| 433 | /** The last sample (NULL = no video available). |
| 434 | * |
| 435 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 436 | * or receive notification when the value of the property changes. |
| 437 | */ |
| 438 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Sample> > property_sample() const; |
| 439 | |
| 440 | |
| 441 | /** Pango font description of font to be used for subtitle rendering. |
| 442 | * |
| 443 | * @return A PropertyProxy_WriteOnly that allows you to set the value of the property, |
| 444 | * or receive notification when the value of the property changes. |
| 445 | */ |
| 446 | Glib::PropertyProxy_WriteOnly< Glib::ustring > property_subtitle_font_desc() ; |
| 447 | |
| 448 | |
| 449 | /** Network connection speed in kbps (0 = unknown). |
| 450 | * |
| 451 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 452 | * or receive notification when the value of the property changes. |
| 453 | */ |
| 454 | Glib::PropertyProxy< guint64 > property_connection_speed() ; |
| 455 | |
| 456 | /** Network connection speed in kbps (0 = unknown). |
| 457 | * |
| 458 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 459 | * or receive notification when the value of the property changes. |
| 460 | */ |
| 461 | Glib::PropertyProxy_ReadOnly< guint64 > property_connection_speed() const; |
| 462 | |
| 463 | /** Buffer size when buffering network streams. |
| 464 | * |
| 465 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 466 | * or receive notification when the value of the property changes. |
| 467 | */ |
| 468 | Glib::PropertyProxy< int > property_buffer_size() ; |
| 469 | |
| 470 | /** Buffer size when buffering network streams. |
| 471 | * |
| 472 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 473 | * or receive notification when the value of the property changes. |
| 474 | */ |
| 475 | Glib::PropertyProxy_ReadOnly< int > property_buffer_size() const; |
| 476 | |
| 477 | /** Buffer duration when buffering network streams. |
| 478 | * |
| 479 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 480 | * or receive notification when the value of the property changes. |
| 481 | */ |
| 482 | Glib::PropertyProxy< gint64 > property_buffer_duration() ; |
| 483 | |
| 484 | /** Buffer duration when buffering network streams. |
| 485 | * |
| 486 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 487 | * or receive notification when the value of the property changes. |
| 488 | */ |
| 489 | Glib::PropertyProxy_ReadOnly< gint64 > property_buffer_duration() const; |
| 490 | |
| 491 | /** The synchronisation offset between audio and video in nanoseconds. |
| 492 | * |
| 493 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 494 | * or receive notification when the value of the property changes. |
| 495 | */ |
| 496 | Glib::PropertyProxy< gint64 > property_av_offset() ; |
| 497 | |
| 498 | /** The synchronisation offset between audio and video in nanoseconds. |
| 499 | * |
| 500 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 501 | * or receive notification when the value of the property changes. |
| 502 | */ |
| 503 | Glib::PropertyProxy_ReadOnly< gint64 > property_av_offset() const; |
| 504 | |
| 505 | /** Max. amount of data in the ring buffer (bytes, 0 = ring buffer disabled). |
| 506 | * |
| 507 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 508 | * or receive notification when the value of the property changes. |
| 509 | */ |
| 510 | Glib::PropertyProxy< guint64 > property_ring_buffer_max_size() ; |
| 511 | |
| 512 | /** Max. amount of data in the ring buffer (bytes, 0 = ring buffer disabled). |
| 513 | * |
| 514 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 515 | * or receive notification when the value of the property changes. |
| 516 | */ |
| 517 | Glib::PropertyProxy_ReadOnly< guint64 > property_ring_buffer_max_size() const; |
| 518 | |
| 519 | /** When enabled, scaling will respect original aspect ratio. |
| 520 | * |
| 521 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 522 | * or receive notification when the value of the property changes. |
| 523 | */ |
| 524 | Glib::PropertyProxy< bool > property_force_aspect_ratio() ; |
| 525 | |
| 526 | /** When enabled, scaling will respect original aspect ratio. |
| 527 | * |
| 528 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 529 | * or receive notification when the value of the property changes. |
| 530 | */ |
| 531 | Glib::PropertyProxy_ReadOnly< bool > property_force_aspect_ratio() const; |
| 532 | |
| 533 | /** the audio filter(s) to apply, if possible. |
| 534 | * |
| 535 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 536 | * or receive notification when the value of the property changes. |
| 537 | */ |
| 538 | Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > property_audio_filter() ; |
| 539 | |
| 540 | /** the audio filter(s) to apply, if possible. |
| 541 | * |
| 542 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 543 | * or receive notification when the value of the property changes. |
| 544 | */ |
| 545 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > property_audio_filter() const; |
| 546 | |
| 547 | /** the video filter(s) to apply, if possible. |
| 548 | * |
| 549 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 550 | * or receive notification when the value of the property changes. |
| 551 | */ |
| 552 | Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > property_video_filter() ; |
| 553 | |
| 554 | /** the video filter(s) to apply, if possible. |
| 555 | * |
| 556 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 557 | * or receive notification when the value of the property changes. |
| 558 | */ |
| 559 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > property_video_filter() const; |
| 560 | |
| 561 | /** Re-interpret a video stream as one of several frame-packed stereoscopic modes. |
| 562 | * |
| 563 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 564 | * or receive notification when the value of the property changes. |
| 565 | */ |
| 566 | Glib::PropertyProxy< Gst::VideoMultiviewFramePacking > property_video_multiview_mode() ; |
| 567 | |
| 568 | /** Re-interpret a video stream as one of several frame-packed stereoscopic modes. |
| 569 | * |
| 570 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 571 | * or receive notification when the value of the property changes. |
| 572 | */ |
| 573 | Glib::PropertyProxy_ReadOnly< Gst::VideoMultiviewFramePacking > property_video_multiview_mode() const; |
| 574 | |
| 575 | /** Override details of the multiview frame layout. |
| 576 | * |
| 577 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 578 | * or receive notification when the value of the property changes. |
| 579 | */ |
| 580 | Glib::PropertyProxy< Gst::VideoMultiviewFlags > property_video_multiview_flags() ; |
| 581 | |
| 582 | /** Override details of the multiview frame layout. |
| 583 | * |
| 584 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 585 | * or receive notification when the value of the property changes. |
| 586 | */ |
| 587 | Glib::PropertyProxy_ReadOnly< Gst::VideoMultiviewFlags > property_video_multiview_flags() const; |
| 588 | |
| 589 | |
| 590 | /** |
| 591 | * @par Slot Prototype: |
| 592 | * <tt>void on_my_%about_to_finish()</tt> |
| 593 | * |
| 594 | */ |
| 595 | |
| 596 | Glib::SignalProxy< void > signal_about_to_finish(); |
| 597 | |
| 598 | |
| 599 | /** |
| 600 | * @par Slot Prototype: |
| 601 | * <tt>void on_my_%video_changed()</tt> |
| 602 | * |
| 603 | */ |
| 604 | |
| 605 | Glib::SignalProxy< void > signal_video_changed(); |
| 606 | |
| 607 | |
| 608 | /** |
| 609 | * @par Slot Prototype: |
| 610 | * <tt>void on_my_%audio_changed()</tt> |
| 611 | * |
| 612 | */ |
| 613 | |
| 614 | Glib::SignalProxy< void > signal_audio_changed(); |
| 615 | |
| 616 | |
| 617 | /** |
| 618 | * @par Slot Prototype: |
| 619 | * <tt>void on_my_%text_changed()</tt> |
| 620 | * |
| 621 | */ |
| 622 | |
| 623 | Glib::SignalProxy< void > signal_text_changed(); |
| 624 | |
| 625 | |
| 626 | /** |
| 627 | * @par Slot Prototype: |
| 628 | * <tt>void on_my_%video_tags_changed(int arg0)</tt> |
| 629 | * |
| 630 | */ |
| 631 | |
| 632 | Glib::SignalProxy< void,int > signal_video_tags_changed(); |
| 633 | |
| 634 | |
| 635 | /** |
| 636 | * @par Slot Prototype: |
| 637 | * <tt>void on_my_%audio_tags_changed(int arg0)</tt> |
| 638 | * |
| 639 | */ |
| 640 | |
| 641 | Glib::SignalProxy< void,int > signal_audio_tags_changed(); |
| 642 | |
| 643 | |
| 644 | /** |
| 645 | * @par Slot Prototype: |
| 646 | * <tt>void on_my_%text_tags_changed(int arg0)</tt> |
| 647 | * |
| 648 | */ |
| 649 | |
| 650 | Glib::SignalProxy< void,int > signal_text_tags_changed(); |
| 651 | |
| 652 | |
| 653 | /** |
| 654 | * @par Slot Prototype: |
| 655 | * <tt>void on_my_%source_setup(const Glib::RefPtr<Gst::Element>& arg0)</tt> |
| 656 | * |
| 657 | */ |
| 658 | |
| 659 | Glib::SignalProxy< void,const Glib::RefPtr<Gst::Element>& > signal_source_setup(); |
| 660 | |
| 661 | |
| 662 | //gtkmmproc error: element-setup : signal defs lookup failed |
| 663 | |
| 664 | |
| 665 | /** This is an action signal which is designed to be used as a method. To |
| 666 | * do that, use its convenience method, get_video_tags(). |
| 667 | * |
| 668 | * @par Slot Prototype: |
| 669 | * <tt>Gst::TagList on_my_%get_video_tags(int arg0)</tt> |
| 670 | * |
| 671 | */ |
| 672 | |
| 673 | Glib::SignalProxy< Gst::TagList,int > signal_get_video_tags(); |
| 674 | |
| 675 | |
| 676 | /** This is an action signal which is designed to be used as a method. To |
| 677 | * do that, use its convenience method, get_audio_tags(). |
| 678 | * |
| 679 | * @par Slot Prototype: |
| 680 | * <tt>Gst::TagList on_my_%get_audio_tags(int arg0)</tt> |
| 681 | * |
| 682 | */ |
| 683 | |
| 684 | Glib::SignalProxy< Gst::TagList,int > signal_get_audio_tags(); |
| 685 | |
| 686 | |
| 687 | /** This is an action signal which is designed to be used as a method. To |
| 688 | * do that, use its convenience method, get_text_tags(). |
| 689 | * |
| 690 | * @par Slot Prototype: |
| 691 | * <tt>Gst::TagList on_my_%get_text_tags(int arg0)</tt> |
| 692 | * |
| 693 | */ |
| 694 | |
| 695 | Glib::SignalProxy< Gst::TagList,int > signal_get_text_tags(); |
| 696 | |
| 697 | |
| 698 | /** This is an action signal which is designed to be used as a method. To |
| 699 | * do that, use its convenience method, convert_sample(). |
| 700 | * |
| 701 | * @par Slot Prototype: |
| 702 | * <tt>Glib::RefPtr<Gst::Sample> on_my_%convert_sample(const Glib::RefPtr<Gst::Caps>& arg0)</tt> |
| 703 | * |
| 704 | */ |
| 705 | |
| 706 | Glib::SignalProxy< Glib::RefPtr<Gst::Sample>,const Glib::RefPtr<Gst::Caps>& > signal_convert_sample(); |
| 707 | |
| 708 | |
| 709 | /** This is an action signal which is designed to be used as a method. To |
| 710 | * do that, use its convenience method, get_video_pad(). |
| 711 | * |
| 712 | * @par Slot Prototype: |
| 713 | * <tt>Glib::RefPtr<Gst::Pad> on_my_%get_video_pad(int arg0)</tt> |
| 714 | * |
| 715 | */ |
| 716 | |
| 717 | Glib::SignalProxy< Glib::RefPtr<Gst::Pad>,int > signal_get_video_pad(); |
| 718 | |
| 719 | |
| 720 | /** This is an action signal which is designed to be used as a method. To |
| 721 | * do that, use its convenience method, get_audio_pad(). |
| 722 | * |
| 723 | * @par Slot Prototype: |
| 724 | * <tt>Glib::RefPtr<Gst::Pad> on_my_%get_audio_pad(int arg0)</tt> |
| 725 | * |
| 726 | */ |
| 727 | |
| 728 | Glib::SignalProxy< Glib::RefPtr<Gst::Pad>,int > signal_get_audio_pad(); |
| 729 | |
| 730 | |
| 731 | /** This is an action signal which is designed to be used as a method. To |
| 732 | * do that, use its convenience method, get_text_pad(). |
| 733 | * |
| 734 | * @par Slot Prototype: |
| 735 | * <tt>Glib::RefPtr<Gst::Pad> on_my_%get_text_pad(int arg0)</tt> |
| 736 | * |
| 737 | */ |
| 738 | |
| 739 | Glib::SignalProxy< Glib::RefPtr<Gst::Pad>,int > signal_get_text_pad(); |
| 740 | |
| 741 | |
| 742 | public: |
| 743 | |
| 744 | public: |
| 745 | //C++ methods used to invoke GTK+ virtual functions: |
| 746 | |
| 747 | protected: |
| 748 | //GTK+ Virtual Functions (override these to change behaviour): |
| 749 | |
| 750 | //Default Signal Handlers:: |
| 751 | |
| 752 | |
| 753 | }; |
| 754 | |
| 755 | } // namespace Gst |
| 756 | |
| 757 | |
| 758 | namespace Glib |
| 759 | { |
| 760 | /** A Glib::wrap() method for this object. |
| 761 | * |
| 762 | * @param object The C instance. |
| 763 | * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
| 764 | * @result A C++ instance that wraps this C instance. |
| 765 | * |
| 766 | * @relates Gst::PlayBin |
| 767 | */ |
| 768 | Glib::RefPtr<Gst::PlayBin> wrap(GstPlayBin* object, bool take_copy = false); |
| 769 | } |
| 770 | |
| 771 | |
| 772 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 773 | |
| 774 | |
| 775 | #endif /* _GSTREAMERMM_PLAYBIN_H */ |
| 776 |