1 #ifndef __GST_TRANSCODER_UTILS_H 2 #define __GST_TRANSCODER_UTILS_H 3 4 #include "utils.h" 5 #include <gst/gst.h> 6 #include <gst/pbutils/pbutils.h> 7 #include <gst/pbutils/encoding-profile.h> 8 9 void print (GstDebugColorFlags c, gboolean err, gboolean nline, const gchar * format, va_list var_args); 10 void ok (const gchar * format, ...); 11 void warn (const gchar * format, ...); 12 void error (const gchar * format, ...); 13 14 gchar * ensure_uri (const gchar * location); 15 gchar * get_file_extension (gchar * uri); 16 17 GList * get_usable_profiles (GstEncodingTarget * target); 18 GstEncodingProfile * create_encoding_profile (const gchar * pname); 19 void describe_encoding_profile (GstEncodingProfile *profile); 20 21 #endif /*__GST_TRANSCODER_UTILS_H*/ 22