summaryrefslogtreecommitdiffstats
path: root/find_sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'find_sub.c')
-rw-r--r--find_sub.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/find_sub.c b/find_sub.c
index d391d285d1..309ae7967d 100644
--- a/find_sub.c
+++ b/find_sub.c
@@ -12,6 +12,9 @@
#include "libvo/sub.h"
#include "subreader.h"
+#include "mp_msg.h"
+#include "help_mp.h"
+
static int current_sub=0;
//static subtitle* subtitles=NULL;
@@ -144,7 +147,7 @@ void find_sub(sub_data* subd,int key){
}
}
- printf("SUB ERROR: %d ? %d --- %d [%d] \n",key,(int)vo_sub->start,(int)vo_sub->end,current_sub);
+ mp_msg(MSGT_FIXME,MSGL_FIXME,"SUB ERROR: %d ? %d --- %d [%d] \n",key,(int)vo_sub->start,(int)vo_sub->end,current_sub);
vo_sub=NULL; // no sub here
}