[farsight2/master] Export the FS_CODEC_ID_* constants
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:20:29 PST 2008
---
python/pyfarsightmodule.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/python/pyfarsightmodule.c b/python/pyfarsightmodule.c
index cb52676..3a2a64a 100644
--- a/python/pyfarsightmodule.c
+++ b/python/pyfarsightmodule.c
@@ -1,4 +1,5 @@
#include <pygobject.h>
+#include <gst-libs/gst/farsight/fs-codec.h>
void fs_register_classes (PyObject *d);
void fs_add_constants(PyObject *module, const gchar *strip_prefix);
@@ -16,6 +17,9 @@ initfarsight(void)
m = Py_InitModule ("farsight", fs_functions);
d = PyModule_GetDict (m);
+ PyModule_AddIntConstant (m, "CODEC_ID_ANY", FS_CODEC_ID_ANY);
+ PyModule_AddIntConstant (m, "CODEC_ID_DISABLE", FS_CODEC_ID_DISABLE);
+
fs_register_classes (d);
fs_add_constants(m, "FS_");
--
1.5.6.5
More information about the farsight-commits
mailing list