summaryrefslogtreecommitdiff
path: root/farstream/fs-utils.h
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2011-10-11 16:08:49 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2011-10-11 16:14:10 -0400
commit52a59229d200a8d74d66e02126c290434d3157d8 (patch)
tree1adf3344ad47dbed6c35c42511362b232c703683 /farstream/fs-utils.h
parent7098f40db04b6a32c311b802a2c12f0f450ee7b7 (diff)
downloadfarstream-52a59229d200a8d74d66e02126c290434d3157d8.tar.gz
Move the lib out of gst-libs
Diffstat (limited to 'farstream/fs-utils.h')
-rw-r--r--farstream/fs-utils.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/farstream/fs-utils.h b/farstream/fs-utils.h
new file mode 100644
index 00000000..ea0c2a0f
--- /dev/null
+++ b/farstream/fs-utils.h
@@ -0,0 +1,45 @@
+/*
+ * Farstream - Miscellaneous useful functions
+ *
+ * Copyright 2011 Collabora Ltd.
+ * @author: Olivier Crete <olivier.crete@collabora.co.uk>
+ * Copyright 2011 Nokia Corp.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+
+
+#ifndef __FS_UTILS_H__
+#define __FS_UTILS_H__
+
+#include <gst/gst.h>
+
+#include <farstream/fs-codec.h>
+
+G_BEGIN_DECLS
+
+GList *fs_utils_get_default_codec_preferences (GstElement *element);
+
+GKeyFile *fs_utils_get_default_element_properties (GstElement *element);
+
+void fs_utils_set_bitrate (GstElement *element, glong bitrate);
+
+GList *fs_utils_get_default_rtp_header_extension_preferences (
+ GstElement *element, FsMediaType media_type);
+
+G_END_DECLS
+
+#endif /* __FS_UTILS_H__ */