mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
mpeg2enc: Implement Preset interface
This commit is contained in:
parent
296caf4660
commit
e9e52d0a9d
1 changed files with 15 additions and 1 deletions
|
@ -99,7 +99,21 @@ static void gst_mpeg2enc_get_property (GObject * object,
|
||||||
static void gst_mpeg2enc_set_property (GObject * object,
|
static void gst_mpeg2enc_set_property (GObject * object,
|
||||||
guint prop_id, const GValue * value, GParamSpec * pspec);
|
guint prop_id, const GValue * value, GParamSpec * pspec);
|
||||||
|
|
||||||
GST_BOILERPLATE (GstMpeg2enc, gst_mpeg2enc, GstElement, GST_TYPE_ELEMENT);
|
static void
|
||||||
|
_do_init (GType object_type)
|
||||||
|
{
|
||||||
|
const GInterfaceInfo preset_interface_info = {
|
||||||
|
NULL, /* interface_init */
|
||||||
|
NULL, /* interface_finalize */
|
||||||
|
NULL /* interface_data */
|
||||||
|
};
|
||||||
|
|
||||||
|
g_type_add_interface_static (object_type, GST_TYPE_PRESET,
|
||||||
|
&preset_interface_info);
|
||||||
|
}
|
||||||
|
|
||||||
|
GST_BOILERPLATE_FULL (GstMpeg2enc, gst_mpeg2enc, GstElement, GST_TYPE_ELEMENT,
|
||||||
|
_do_init);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_mpeg2enc_base_init (gpointer klass)
|
gst_mpeg2enc_base_init (gpointer klass)
|
||||||
|
|
Loading…
Reference in a new issue