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


#include <gstreamermm/basetransform.h>
_DEFS(gstreamermm,gst)

namespace Gst
{

/** A Wrapper for the videorate plugin.
 * Please note that not all plug-ins are available on all systems so care
 * must be taken that they exist before they are used otherwise there will
 * be errors and possibly a crash.
 *
 * @ingroup GstPlugins
 * @deprecated Plugins API is deprecated, and should not be used in a new code.
 */
class VideoRate
: public Gst::BaseTransform
{
  _CLASS_GOBJECT(VideoRate, GstVideoRate, GST_VIDEO_RATE_GSTREAMERMM, Gst::BaseTransform, GstBaseTransform)
  _IS_GSTREAMERMM_PLUGIN
protected:
  VideoRate();
  explicit VideoRate(const Glib::ustring& name);

public:
  /** Creates a new videorate plugin with a unique name.
   */
  _WRAP_CREATE()

  /** Creates a new videorate plugin with the given name.
   */
  _WRAP_CREATE(const Glib::ustring& name)

  _WRAP_PROPERTY("in", guint64)
  _WRAP_PROPERTY("out", guint64)
  _WRAP_PROPERTY("duplicate", guint64)
  _WRAP_PROPERTY("drop", guint64)
  _WRAP_PROPERTY("silent", bool)
  _WRAP_PROPERTY("new-pref", double)
  _WRAP_PROPERTY("skip-to-first", bool)
  _WRAP_PROPERTY("drop-only", bool)
  _WRAP_PROPERTY("average-period", guint64)
  _WRAP_PROPERTY("max-rate", int)
};

} // namespace Gst
