diff options
author | Saunier Thibault <saunierthibault@gmail.com> | 2015-12-03 12:32:05 +0100 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2019-08-28 13:02:13 +0000 |
commit | 7a66b16d976468fcf72c2d1398fd637bdb4e348c (patch) | |
tree | 6a2d09ec58ab6bd964135cca665814805bbcbfaa /tools/utils.h | |
parent | 87311d404ef75c08fc8417fc7fb41e17002e80f6 (diff) | |
download | gstreamer-plugins-bad-7a66b16d976468fcf72c2d1398fd637bdb4e348c.tar.gz |
Import GstTranscoder
Diffstat (limited to 'tools/utils.h')
-rw-r--r-- | tools/utils.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/utils.h b/tools/utils.h new file mode 100644 index 000000000..106ec45ec --- /dev/null +++ b/tools/utils.h @@ -0,0 +1,21 @@ +#ifndef __GST_TRANSCODER_UTILS_H +#define __GST_TRANSCODER_UTILS_H + +#include "utils.h" +#include <gst/gst.h> +#include <gst/pbutils/pbutils.h> +#include <gst/pbutils/encoding-profile.h> + +void print (GstDebugColorFlags c, gboolean err, gboolean nline, const gchar * format, va_list var_args); +void ok (const gchar * format, ...); +void warn (const gchar * format, ...); +void error (const gchar * format, ...); + +gchar * ensure_uri (const gchar * location); +gchar * get_file_extension (gchar * uri); + +GList * get_usable_profiles (GstEncodingTarget * target); +GstEncodingProfile * create_encoding_profile (const gchar * pname); +void describe_encoding_profile (GstEncodingProfile *profile); + +#endif /*__GST_TRANSCODER_UTILS_H*/ |