mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
xvid: Implement Preset interface
This commit is contained in:
parent
42d24ab5fb
commit
296caf4660
1 changed files with 8 additions and 0 deletions
|
@ -199,9 +199,17 @@ gst_xvidenc_get_type (void)
|
|||
0,
|
||||
(GInstanceInitFunc) gst_xvidenc_init,
|
||||
};
|
||||
const GInterfaceInfo preset_interface_info = {
|
||||
NULL, /* interface_init */
|
||||
NULL, /* interface_finalize */
|
||||
NULL /* interface_data */
|
||||
};
|
||||
|
||||
xvidenc_type = g_type_register_static (GST_TYPE_ELEMENT,
|
||||
"GstXvidEnc", &xvidenc_info, 0);
|
||||
|
||||
g_type_add_interface_static (xvidenc_type, GST_TYPE_PRESET,
|
||||
&preset_interface_info);
|
||||
}
|
||||
return xvidenc_type;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue