File tree Expand file tree Collapse file tree 3 files changed +46
-1
lines changed Expand file tree Collapse file tree 3 files changed +46
-1
lines changed Original file line number Diff line number Diff line change 11
11
%include " AvTranscoder/swig/avExport.i"
12
12
%include " AvTranscoder/swig/avDocumentation.i"
13
13
%include " AvTranscoder/swig/avRational.i"
14
+ %include " AvTranscoder/swig/avLogLevel.i"
14
15
15
16
%{
16
17
#include < AvTranscoder/ProfileLoader.hpp>
Original file line number Diff line number Diff line change @@ -60,7 +60,8 @@ void AvExport preloadCodecsAndFormats();
60
60
61
61
/* *
62
62
* @brief Set the log level of ffmpeg/libav.
63
- * @param level: refer to define AV_LOG_*** (from AV_LOG_QUIET to AV_LOG_MAX_OFFSET)
63
+ * @param level: refer to define AV_LOG_xxx (from AV_LOG_QUIET to AV_LOG_DEBUG)
64
+ * @see SWIG interface avLogLevel.i
64
65
*/
65
66
void AvExport setLogLevel ( const int level );
66
67
Original file line number Diff line number Diff line change
1
+ /* *
2
+ * Print no output.
3
+ */
4
+ #define AV_LOG_QUIET -8
5
+
6
+ /* *
7
+ * Something went really wrong and we will crash now.
8
+ */
9
+ #define AV_LOG_PANIC 0
10
+
11
+ /* *
12
+ * Something went wrong and recovery is not possible.
13
+ * For example, no header was found for a format which depends
14
+ * on headers or an illegal combination of parameters is used.
15
+ */
16
+ #define AV_LOG_FATAL 8
17
+
18
+ /* *
19
+ * Something went wrong and cannot losslessly be recovered.
20
+ * However, not all future data is affected.
21
+ */
22
+ #define AV_LOG_ERROR 16
23
+
24
+ /* *
25
+ * Something somehow does not look correct. This may or may not
26
+ * lead to problems. An example would be the use of '-vstrict -2'.
27
+ */
28
+ #define AV_LOG_WARNING 24
29
+
30
+ /* *
31
+ * Standard information.
32
+ */
33
+ #define AV_LOG_INFO 32
34
+
35
+ /* *
36
+ * Detailed information.
37
+ */
38
+ #define AV_LOG_VERBOSE 40
39
+
40
+ /* *
41
+ * Stuff which is only useful for libav* developers.
42
+ */
43
+ #define AV_LOG_DEBUG 48
You can’t perform that action at this time.
0 commit comments