// Generated by gtkmmproc -- DO NOT MODIFY!


#include <glibmm.h>

#include <gstreamermm/playbin2.h>
#include <gstreamermm/private/playbin2_p.h>


// Generated by generate_plugin_gmmproc_file. Don't edit this file.


extern "C"
{

static GType gst_play_flags_get_type()
{
  static GType const type = g_type_from_name("GstPlayFlags");
  return type;
}

GType gst_play_bin2_gstreamermm_get_type()
{
  static GType type = 0;
  GstElementFactory* factory = 0;
  GstPluginFeature* feature = 0;

  if(!type)
  {
    factory = gst_element_factory_find("playbin2");
    // Make sure that the feature is actually loaded:
    if(factory)
    {
      feature =
        gst_plugin_feature_load(GST_PLUGIN_FEATURE(factory));

      g_object_unref(factory);
      factory = GST_ELEMENT_FACTORY(feature);
      type = gst_element_factory_get_element_type(factory);
      g_object_unref(factory);

      // Register the new type with wrapping system
      Glib::wrap_register(type, &Gst::PlayBin2_Class::wrap_new);
    }
  }

  return type;
}

} // extern "C"

namespace Gst
{

PlayBin2::PlayBin2()
: // Mark this class as non-derived to allow C++ vfuncs to be skipped.
  Glib::ObjectBase(0),
  Gst::Pipeline(Glib::ConstructParams(playbin2_class_.init(), "name",static_cast<char*>(0), static_cast<char*>(0)))
{}

PlayBin2::PlayBin2(const Glib::ustring& name)
: // Mark this class as non-derived to allow C++ vfuncs to be skipped.
  Glib::ObjectBase(0),
  Gst::Pipeline(Glib::ConstructParams(playbin2_class_.init(), "name",name.c_str(), static_cast<char*>(0)))
{}

Gst::TagList PlayBin2::get_video_tags(int arg0)
{
  GstTagList* result;
  g_signal_emit_by_name(gobj(), "get-video-tags", arg0, &result, static_cast<void*>(0));
  return Glib::wrap_taglist(result);
}

Gst::TagList PlayBin2::get_audio_tags(int arg0)
{
  GstTagList* result;
  g_signal_emit_by_name(gobj(), "get-audio-tags", arg0, &result, static_cast<void*>(0));
  return Glib::wrap_taglist(result);
}

Gst::TagList PlayBin2::get_text_tags(int arg0)
{
  GstTagList* result;
  g_signal_emit_by_name(gobj(), "get-text-tags", arg0, &result, static_cast<void*>(0));
  return Glib::wrap_taglist(result);
}

Glib::RefPtr<Gst::Buffer> PlayBin2::convert_frame(const Glib::RefPtr<Gst::Caps>& arg0)
{
  GstBuffer* result;
  g_signal_emit_by_name(gobj(), "convert-frame", Glib::unwrap(arg0), &result, static_cast<void*>(0));
  return Gst::wrap(result);
}

Glib::RefPtr<Gst::Pad> PlayBin2::get_video_pad(int arg0)
{
  GstPad* result;
  g_signal_emit_by_name(gobj(), "get-video-pad", arg0, &result, static_cast<void*>(0));
  return Glib::wrap(result);
}

Glib::RefPtr<Gst::Pad> PlayBin2::get_audio_pad(int arg0)
{
  GstPad* result;
  g_signal_emit_by_name(gobj(), "get-audio-pad", arg0, &result, static_cast<void*>(0));
  return Glib::wrap(result);
}

Glib::RefPtr<Gst::Pad> PlayBin2::get_text_pad(int arg0)
{
  GstPad* result;
  g_signal_emit_by_name(gobj(), "get-text-pad", arg0, &result, static_cast<void*>(0));
  return Glib::wrap(result);
}

}
namespace Glib
{

Glib::RefPtr<Gst::PlayBin2> wrap(GstPlayBin2* object, bool take_copy)
{
  static bool registered_wrap_new = false;
  if(!registered_wrap_new)
  {
    // Call get *_get_type() function which does the registration.
    gst_play_bin2_gstreamermm_get_type();
    registered_wrap_new = true;
  }

  return Glib::RefPtr<Gst::PlayBin2>( dynamic_cast<Gst::PlayBin2*> (Glib::wrap_auto ((GObject*)(object), take_copy)) );
}

}

namespace
{


static const Glib::SignalProxyInfo PlayBin2_signal_about_to_finish_info =
{
  "about-to-finish",
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
};


static const Glib::SignalProxyInfo PlayBin2_signal_video_changed_info =
{
  "video-changed",
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
};


static const Glib::SignalProxyInfo PlayBin2_signal_audio_changed_info =
{
  "audio-changed",
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
};


static const Glib::SignalProxyInfo PlayBin2_signal_text_changed_info =
{
  "text-changed",
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
};


static void PlayBin2_signal_video_tags_changed_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }
}

static const Glib::SignalProxyInfo PlayBin2_signal_video_tags_changed_info =
{
  "video-tags-changed",
  (GCallback) &PlayBin2_signal_video_tags_changed_callback,
  (GCallback) &PlayBin2_signal_video_tags_changed_callback
};


static void PlayBin2_signal_audio_tags_changed_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }
}

static const Glib::SignalProxyInfo PlayBin2_signal_audio_tags_changed_info =
{
  "audio-tags-changed",
  (GCallback) &PlayBin2_signal_audio_tags_changed_callback,
  (GCallback) &PlayBin2_signal_audio_tags_changed_callback
};


static void PlayBin2_signal_text_tags_changed_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }
}

static const Glib::SignalProxyInfo PlayBin2_signal_text_tags_changed_info =
{
  "text-tags-changed",
  (GCallback) &PlayBin2_signal_text_tags_changed_callback,
  (GCallback) &PlayBin2_signal_text_tags_changed_callback
};


static void PlayBin2_signal_source_setup_callback(GstPlayBin2* self, GstElement* p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,const Glib::RefPtr<Gst::Element>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }
}

static const Glib::SignalProxyInfo PlayBin2_signal_source_setup_info =
{
  "source-setup",
  (GCallback) &PlayBin2_signal_source_setup_callback,
  (GCallback) &PlayBin2_signal_source_setup_callback
};


static GstTagList* PlayBin2_signal_get_video_tags_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Gst::TagList,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return ((*static_cast<SlotType*>(slot))(p0
)).gobj_copy();
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static GstTagList* PlayBin2_signal_get_video_tags_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_video_tags_info =
{
  "get-video-tags",
  (GCallback) &PlayBin2_signal_get_video_tags_callback,
  (GCallback) &PlayBin2_signal_get_video_tags_notify_callback
};


static GstTagList* PlayBin2_signal_get_audio_tags_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Gst::TagList,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return ((*static_cast<SlotType*>(slot))(p0
)).gobj_copy();
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static GstTagList* PlayBin2_signal_get_audio_tags_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_audio_tags_info =
{
  "get-audio-tags",
  (GCallback) &PlayBin2_signal_get_audio_tags_callback,
  (GCallback) &PlayBin2_signal_get_audio_tags_notify_callback
};


static GstTagList* PlayBin2_signal_get_text_tags_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Gst::TagList,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return ((*static_cast<SlotType*>(slot))(p0
)).gobj_copy();
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static GstTagList* PlayBin2_signal_get_text_tags_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_text_tags_info =
{
  "get-text-tags",
  (GCallback) &PlayBin2_signal_get_text_tags_callback,
  (GCallback) &PlayBin2_signal_get_text_tags_notify_callback
};


static GstBuffer* PlayBin2_signal_convert_frame_callback(GstPlayBin2* self, GstCaps* p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Glib::RefPtr<Gst::Buffer>,const Glib::RefPtr<Gst::Caps>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return Gst::unwrap((*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
));
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstBuffer* RType;
  return RType();
}

static GstBuffer* PlayBin2_signal_convert_frame_notify_callback(GstPlayBin2* self, GstCaps* p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,const Glib::RefPtr<Gst::Caps>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstBuffer* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_convert_frame_info =
{
  "convert-frame",
  (GCallback) &PlayBin2_signal_convert_frame_callback,
  (GCallback) &PlayBin2_signal_convert_frame_notify_callback
};


static GstPad* PlayBin2_signal_get_video_pad_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Glib::RefPtr<Gst::Pad>,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return Glib::unwrap((*static_cast<SlotType*>(slot))(p0
));
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static GstPad* PlayBin2_signal_get_video_pad_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_video_pad_info =
{
  "get-video-pad",
  (GCallback) &PlayBin2_signal_get_video_pad_callback,
  (GCallback) &PlayBin2_signal_get_video_pad_notify_callback
};


static GstPad* PlayBin2_signal_get_audio_pad_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Glib::RefPtr<Gst::Pad>,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return Glib::unwrap((*static_cast<SlotType*>(slot))(p0
));
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static GstPad* PlayBin2_signal_get_audio_pad_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_audio_pad_info =
{
  "get-audio-pad",
  (GCallback) &PlayBin2_signal_get_audio_pad_callback,
  (GCallback) &PlayBin2_signal_get_audio_pad_notify_callback
};


static GstPad* PlayBin2_signal_get_text_pad_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Glib::RefPtr<Gst::Pad>,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return Glib::unwrap((*static_cast<SlotType*>(slot))(p0
));
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static GstPad* PlayBin2_signal_get_text_pad_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_text_pad_info =
{
  "get-text-pad",
  (GCallback) &PlayBin2_signal_get_text_pad_callback,
  (GCallback) &PlayBin2_signal_get_text_pad_notify_callback
};


} // anonymous namespace

// static
GType Glib::Value<Gst::PlayFlags>::value_type()
{
  return gst_play_flags_get_type();
}


namespace Gst
{


/* The *_Class implementation: */

const Glib::Class& PlayBin2_Class::init()
{
  if(!gtype_) // create the GType if necessary
  {
    // Glib::Class has to know the class init function to clone custom types.
    class_init_func_ = &PlayBin2_Class::class_init_function;

    // This is actually just optimized away, apparently with no harm.
    // Make sure that the parent type has been created.
    //CppClassParent::CppObjectType::get_type();

    // Create the wrapper type, with the same class/instance size as the base type.
    register_derived_type(gst_play_bin2_gstreamermm_get_type());

    // Add derived versions of interfaces, if the C type implements any interfaces:
  Gst::StreamVolume::add_interface(get_type());

  }

  return *this;
}


void PlayBin2_Class::class_init_function(void* g_class, void* class_data)
{
  BaseClassType *const klass = static_cast<BaseClassType*>(g_class);
  CppClassParent::class_init_function(klass, class_data);


}


Glib::ObjectBase* PlayBin2_Class::wrap_new(GObject* object)
{
  return new PlayBin2((GstPlayBin2*)object);
}


/* The implementation: */

GstPlayBin2* PlayBin2::gobj_copy()
{
  reference();
  return gobj();
}

PlayBin2::PlayBin2(const Glib::ConstructParams& construct_params)
:
  Gst::Pipeline(construct_params)
{

}

PlayBin2::PlayBin2(GstPlayBin2* castitem)
:
  Gst::Pipeline((GstPipeline*)(castitem))
{}


PlayBin2::~PlayBin2()
{}


PlayBin2::CppClassType PlayBin2::playbin2_class_; // initialize static member

GType PlayBin2::get_type()
{
  return playbin2_class_.init().get_type();
}


GType PlayBin2::get_base_type()
{
  return gst_play_bin2_gstreamermm_get_type();
}


Glib::RefPtr<PlayBin2> PlayBin2::create()
{
  return Glib::RefPtr<PlayBin2>( new PlayBin2() );
}

Glib::RefPtr<PlayBin2> PlayBin2::create(const Glib::ustring& name)
{
  return Glib::RefPtr<PlayBin2>( new PlayBin2(name) );
}


Glib::SignalProxy0< void > PlayBin2::signal_about_to_finish()
{
  return Glib::SignalProxy0< void >(this, &PlayBin2_signal_about_to_finish_info);
}


Glib::SignalProxy0< void > PlayBin2::signal_video_changed()
{
  return Glib::SignalProxy0< void >(this, &PlayBin2_signal_video_changed_info);
}


Glib::SignalProxy0< void > PlayBin2::signal_audio_changed()
{
  return Glib::SignalProxy0< void >(this, &PlayBin2_signal_audio_changed_info);
}


Glib::SignalProxy0< void > PlayBin2::signal_text_changed()
{
  return Glib::SignalProxy0< void >(this, &PlayBin2_signal_text_changed_info);
}


Glib::SignalProxy1< void,int > PlayBin2::signal_video_tags_changed()
{
  return Glib::SignalProxy1< void,int >(this, &PlayBin2_signal_video_tags_changed_info);
}


Glib::SignalProxy1< void,int > PlayBin2::signal_audio_tags_changed()
{
  return Glib::SignalProxy1< void,int >(this, &PlayBin2_signal_audio_tags_changed_info);
}


Glib::SignalProxy1< void,int > PlayBin2::signal_text_tags_changed()
{
  return Glib::SignalProxy1< void,int >(this, &PlayBin2_signal_text_tags_changed_info);
}


Glib::SignalProxy1< void,const Glib::RefPtr<Gst::Element>& > PlayBin2::signal_source_setup()
{
  return Glib::SignalProxy1< void,const Glib::RefPtr<Gst::Element>& >(this, &PlayBin2_signal_source_setup_info);
}


Glib::SignalProxy1< Gst::TagList,int > PlayBin2::signal_get_video_tags()
{
  return Glib::SignalProxy1< Gst::TagList,int >(this, &PlayBin2_signal_get_video_tags_info);
}


Glib::SignalProxy1< Gst::TagList,int > PlayBin2::signal_get_audio_tags()
{
  return Glib::SignalProxy1< Gst::TagList,int >(this, &PlayBin2_signal_get_audio_tags_info);
}


Glib::SignalProxy1< Gst::TagList,int > PlayBin2::signal_get_text_tags()
{
  return Glib::SignalProxy1< Gst::TagList,int >(this, &PlayBin2_signal_get_text_tags_info);
}


Glib::SignalProxy1< Glib::RefPtr<Gst::Buffer>,const Glib::RefPtr<Gst::Caps>& > PlayBin2::signal_convert_frame()
{
  return Glib::SignalProxy1< Glib::RefPtr<Gst::Buffer>,const Glib::RefPtr<Gst::Caps>& >(this, &PlayBin2_signal_convert_frame_info);
}


Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int > PlayBin2::signal_get_video_pad()
{
  return Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int >(this, &PlayBin2_signal_get_video_pad_info);
}


Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int > PlayBin2::signal_get_audio_pad()
{
  return Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int >(this, &PlayBin2_signal_get_audio_pad_info);
}


Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int > PlayBin2::signal_get_text_pad()
{
  return Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int >(this, &PlayBin2_signal_get_text_pad_info);
}


#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Glib::ustring > PlayBin2::property_uri() 
{
  return Glib::PropertyProxy< Glib::ustring >(this, "uri");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::ustring > PlayBin2::property_uri() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "uri");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Glib::ustring > PlayBin2::property_suburi() 
{
  return Glib::PropertyProxy< Glib::ustring >(this, "suburi");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::ustring > PlayBin2::property_suburi() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "suburi");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin2::property_source() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "source");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Gst::PlayFlags > PlayBin2::property_flags() 
{
  return Glib::PropertyProxy< Gst::PlayFlags >(this, "flags");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Gst::PlayFlags > PlayBin2::property_flags() const
{
  return Glib::PropertyProxy_ReadOnly< Gst::PlayFlags >(this, "flags");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< int > PlayBin2::property_n_video() const
{
  return Glib::PropertyProxy_ReadOnly< int >(this, "n-video");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< int > PlayBin2::property_current_video() 
{
  return Glib::PropertyProxy< int >(this, "current-video");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< int > PlayBin2::property_current_video() const
{
  return Glib::PropertyProxy_ReadOnly< int >(this, "current-video");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< int > PlayBin2::property_n_audio() const
{
  return Glib::PropertyProxy_ReadOnly< int >(this, "n-audio");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< int > PlayBin2::property_current_audio() 
{
  return Glib::PropertyProxy< int >(this, "current-audio");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< int > PlayBin2::property_current_audio() const
{
  return Glib::PropertyProxy_ReadOnly< int >(this, "current-audio");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< int > PlayBin2::property_n_text() const
{
  return Glib::PropertyProxy_ReadOnly< int >(this, "n-text");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< int > PlayBin2::property_current_text() 
{
  return Glib::PropertyProxy< int >(this, "current-text");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< int > PlayBin2::property_current_text() const
{
  return Glib::PropertyProxy_ReadOnly< int >(this, "current-text");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Glib::ustring > PlayBin2::property_subtitle_encoding() 
{
  return Glib::PropertyProxy< Glib::ustring >(this, "subtitle-encoding");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::ustring > PlayBin2::property_subtitle_encoding() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "subtitle-encoding");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin2::property_audio_sink() 
{
  return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "audio-sink");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin2::property_audio_sink() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "audio-sink");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin2::property_video_sink() 
{
  return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "video-sink");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin2::property_video_sink() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "video-sink");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin2::property_vis_plugin() 
{
  return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "vis-plugin");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin2::property_vis_plugin() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "vis-plugin");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin2::property_text_sink() 
{
  return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "text-sink");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin2::property_text_sink() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "text-sink");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< double > PlayBin2::property_volume() 
{
  return Glib::PropertyProxy< double >(this, "volume");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< double > PlayBin2::property_volume() const
{
  return Glib::PropertyProxy_ReadOnly< double >(this, "volume");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< bool > PlayBin2::property_mute() 
{
  return Glib::PropertyProxy< bool >(this, "mute");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< bool > PlayBin2::property_mute() const
{
  return Glib::PropertyProxy_ReadOnly< bool >(this, "mute");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Buffer> > PlayBin2::property_frame() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Buffer> >(this, "frame");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_WriteOnly< Glib::ustring > PlayBin2::property_subtitle_font_desc() 
{
  return Glib::PropertyProxy_WriteOnly< Glib::ustring >(this, "subtitle-font-desc");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< guint > PlayBin2::property_connection_speed() 
{
  return Glib::PropertyProxy< guint >(this, "connection-speed");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< guint > PlayBin2::property_connection_speed() const
{
  return Glib::PropertyProxy_ReadOnly< guint >(this, "connection-speed");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< int > PlayBin2::property_buffer_size() 
{
  return Glib::PropertyProxy< int >(this, "buffer-size");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< int > PlayBin2::property_buffer_size() const
{
  return Glib::PropertyProxy_ReadOnly< int >(this, "buffer-size");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< gint64 > PlayBin2::property_buffer_duration() 
{
  return Glib::PropertyProxy< gint64 >(this, "buffer-duration");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< gint64 > PlayBin2::property_buffer_duration() const
{
  return Glib::PropertyProxy_ReadOnly< gint64 >(this, "buffer-duration");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< gint64 > PlayBin2::property_av_offset() 
{
  return Glib::PropertyProxy< gint64 >(this, "av-offset");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< gint64 > PlayBin2::property_av_offset() const
{
  return Glib::PropertyProxy_ReadOnly< gint64 >(this, "av-offset");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< guint64 > PlayBin2::property_ring_buffer_max_size() 
{
  return Glib::PropertyProxy< guint64 >(this, "ring-buffer-max-size");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< guint64 > PlayBin2::property_ring_buffer_max_size() const
{
  return Glib::PropertyProxy_ReadOnly< guint64 >(this, "ring-buffer-max-size");
}
#endif //GLIBMM_PROPERTIES_ENABLED


} // namespace Gst


