0f4805b64e
bridge the gap between mplayer/gocr and full text subtitle extraction, some manpages, and a sample shell script that can perform subtitle extraction.
20 lines
424 B
Plaintext
20 lines
424 B
Plaintext
$OpenBSD: patch-mp_msg_c,v 1.1.1.1 2007/01/22 13:55:42 espie Exp $
|
|
--- mp_msg.c.orig Thu Jan 18 12:31:44 2007
|
|
+++ mp_msg.c Thu Jan 18 12:32:51 2007
|
|
@@ -7,10 +7,15 @@
|
|
|
|
#include "mp_msg.h"
|
|
|
|
+extern int debug_messages;
|
|
+
|
|
void
|
|
mp_msg (int module, int level, const char *format, ...)
|
|
{
|
|
va_list va;
|
|
+
|
|
+ if (level == MSGL_DBG2 && !debug_messages)
|
|
+ return;
|
|
|
|
va_start (va, format);
|
|
vfprintf (stderr, format, va);
|