summaryrefslogtreecommitdiffstats
path: root/ext/xvid
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-04 12:31:58 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-04 12:31:58 +0200
commit296caf466014e11e73a67e8ec27d32f6e78b0a9c (patch)
tree146198b851dc78c5ef211232446416fc1fd6614a /ext/xvid
parent42d24ab5fbab1fc9cde6914445a1876a92413966 (diff)
downloadgst-plugins-bad-296caf466014e11e73a67e8ec27d32f6e78b0a9c.tar.gz
gst-plugins-bad-296caf466014e11e73a67e8ec27d32f6e78b0a9c.tar.bz2
gst-plugins-bad-296caf466014e11e73a67e8ec27d32f6e78b0a9c.zip
xvid: Implement Preset interface
Diffstat (limited to 'ext/xvid')
-rw-r--r--ext/xvid/gstxvidenc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c
index ea6d3aed..40b5be22 100644
--- a/ext/xvid/gstxvidenc.c
+++ b/ext/xvid/gstxvidenc.c
@@ -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;
}