ruediger/VobSub2SRT — Issue #7: Blacklist doesn't seem to work
Author: nightowl77
Created: 2011-11-24 20:53:54+00:00
State: open

Hi Guys

I'm not 100% sure if I'm passing the paramater in the right format, but it would seem that the blacklist doesn't work quite right.

I tried

vobsub2srt --blacklist \| filename

and

vobsub2srt --blacklist "|" filename

With both options words like |'|| or wou|d still shows in the SRT file

As a quick fix, can I change line 137 of vobsub2srt.c++ from

tess_base_api.SetVariable("tessedit_char_blacklist", blacklist.c_str());

to

tess_base_api.SetVariable("tessedit_char_blacklist", "|");

and remove the if statement around it? (Sorry, I have zero C++ experience).

Thank you

Werner