Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libav: fix the previous change (debug libav option)
  • Loading branch information
perexg committed Jun 2, 2015
1 parent 2b31be5 commit ca84c71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/libav.c
Expand Up @@ -10,6 +10,9 @@ libav_log_callback(void *ptr, int level, const char *fmt, va_list vl)
char *nl;
char *l;

if ((level == AV_LOG_DEBUG) && !(tvhlog_options & TVHLOG_OPT_LIBAV))
return;

memset(message, 0, sizeof(message));
vsnprintf(message, sizeof(message), fmt, vl);

Expand Down
2 changes: 1 addition & 1 deletion src/webui/static/app/tvhlog.js
Expand Up @@ -5,7 +5,7 @@ tvheadend.tvhlog = function(panel, index) {
var confreader = new Ext.data.JsonReader({
root: 'config'
}, ['tvhlog_path', 'tvhlog_dbg_syslog', 'tvhlog_trace_on',
'tvhlog_debug', 'tvhlog_trace']);
'tvhlog_debug', 'tvhlog_trace', 'tvhlog_libav']);

/* ****************************************************************
* Form Fields
Expand Down

0 comments on commit ca84c71

Please sign in to comment.