summaryrefslogtreecommitdiff
path: root/tools/utils.h
blob: 106ec45ec26e978d5d4de3cd8d1cfdc483bd6d93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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*/