| 1 |
// Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 2 |
|
| 3 |
|
| 4 |
#include <gstreamermm/bin.h> |
| 5 |
#include <gstreamermm/encodingprofile.h> |
| 6 |
#include <gstreamermm/pad.h> |
| 7 |
#include <gstreamermm/caps.h> |
| 8 |
_DEFS(gstreamermm,gst) |
| 9 |
|
| 10 |
_CONFIGINCLUDE(gstreamermmconfig.h) |
| 11 |
_IS_DEPRECATED |
| 12 |
|
| 13 |
namespace Gst |
| 14 |
{ |
| 15 |
|
| 16 |
_WRAP_ENUM(EncodeBinFlags,GstEncodeBinFlags) |
| 17 |
_CONV_ENUM(Gst,EncodeBinFlags) |
| 18 |
|
| 19 |
/** A Wrapper for the encodebin plugin. |
| 20 |
* Please note that not all plug-ins are available on all systems so care |
| 21 |
* must be taken that they exist before they are used otherwise there will |
| 22 |
* be errors and possibly a crash. |
| 23 |
* |
| 24 |
* @ingroup GstPlugins |
| 25 |
* @deprecated Plugins API is deprecated, and should not be used in a new code. |
| 26 |
*/ |
| 27 |
class EncodeBin |
| 28 |
: public Gst::Bin |
| 29 |
{ |
| 30 |
_CLASS_GOBJECT(EncodeBin, GstEncodeBin, GST_ENCODE_BIN_GSTREAMERMM, Gst::Bin, GstBin) |
| 31 |
_IS_GSTREAMERMM_PLUGIN |
| 32 |
protected: |
| 33 |
EncodeBin(); |
| 34 |
explicit EncodeBin(const Glib::ustring& name); |
| 35 |
|
| 36 |
public: |
| 37 |
/** Creates a new encodebin plugin with a unique name. |
| 38 |
*/ |
| 39 |
_WRAP_CREATE() |
| 40 |
|
| 41 |
/** Creates a new encodebin plugin with the given name. |
| 42 |
*/ |
| 43 |
_WRAP_CREATE(const Glib::ustring& name) |
| 44 |
|
| 45 |
/** This is a convenience method for the action signal |
| 46 |
* signal_request_pad(). |
| 47 |
*/ |
| 48 |
Glib::RefPtr<Gst::Pad> request_pad(const Glib::RefPtr<Gst::Caps>& arg0); |
| 49 |
|
| 50 |
/** This is a convenience method for the action signal |
| 51 |
* signal_request_profile_pad(). |
| 52 |
*/ |
| 53 |
Glib::RefPtr<Gst::Pad> request_profile_pad(const Glib::ustring& arg0); |
| 54 |
|
| 55 |
|
| 56 |
_WRAP_PROPERTY("profile", Glib::RefPtr<Gst::EncodingProfile>) |
| 57 |
_WRAP_PROPERTY("queue-buffers-max", guint) |
| 58 |
_WRAP_PROPERTY("queue-bytes-max", guint) |
| 59 |
_WRAP_PROPERTY("queue-time-max", guint64) |
| 60 |
_WRAP_PROPERTY("audio-jitter-tolerance", guint64) |
| 61 |
_WRAP_PROPERTY("avoid-reencoding", bool) |
| 62 |
_WRAP_PROPERTY("flags", Gst::EncodeBinFlags) |
| 63 |
|
| 64 |
|
| 65 |
#m4 _CONVERSION(`GstPad*', `Glib::RefPtr<Gst::Pad>', `Glib::wrap($3)') |
| 66 |
#m4 _CONVERSION(`GstCaps*', `const Glib::RefPtr<Gst::Caps>&', `Glib::wrap($3, true)') |
| 67 |
/** This is an action signal which is designed to be used as a method. To |
| 68 |
* do that, use its convenience method, request_pad(). |
| 69 |
*/ |
| 70 |
_WRAP_SIGNAL(Glib::RefPtr<Gst::Pad> request_pad(const Glib::RefPtr<Gst::Caps>& arg0), "request-pad", no_default_handler) |
| 71 |
|
| 72 |
|
| 73 |
#m4 _CONVERSION(`GstPad*', `Glib::RefPtr<Gst::Pad>', `Glib::wrap($3)') |
| 74 |
/** This is an action signal which is designed to be used as a method. To |
| 75 |
* do that, use its convenience method, request_profile_pad(). |
| 76 |
*/ |
| 77 |
_WRAP_SIGNAL(Glib::RefPtr<Gst::Pad> request_profile_pad(const Glib::ustring& arg0), "request-profile-pad", no_default_handler) |
| 78 |
|
| 79 |
}; |
| 80 |
|
| 81 |
} // namespace Gst |