mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
dirac: Implement preset interface
This commit is contained in:
parent
c53e4b8efc
commit
f3105eccd2
1 changed files with 15 additions and 1 deletions
|
@ -148,7 +148,21 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_STATIC_CAPS ("video/x-dirac")
|
GST_STATIC_CAPS ("video/x-dirac")
|
||||||
);
|
);
|
||||||
|
|
||||||
GST_BOILERPLATE (GstDiracEnc, gst_dirac_enc, 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 (GstDiracEnc, gst_dirac_enc, GstElement, GST_TYPE_ELEMENT,
|
||||||
|
_do_init);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_dirac_enc_base_init (gpointer g_class)
|
gst_dirac_enc_base_init (gpointer g_class)
|
||||||
|
|
Loading…
Reference in a new issue