Menu

#32 Adverse auto-loading DVobSub

open
nobody
None
5
2007-10-04
2007-10-04
Prozac
No

Hello Jan!

I have finally found some free time to think about the idea we were talking about a few weeks ago.

If I have a movie and subtitles, both with the same filenames and load them to SP then auto-loading version of DirectVobSub is always executed. Then DirectVobSub may stretch the Preview in SP. Especially if I have my own DVobSub settings (e.g. Vertical padding etc.).
In my opinion in such cases SP should force DVobSub to terminate before movie and subs are loaded.

Solution:
Create a special procedure that will be executed every time before loading subs and movie:
IF 'Automatically load subtitles in VobSub' option is set to 'No' for a given kind of subs
AND
movie and subs both have the same filenames
THEN
go to the following registry key
HKEY_CURRENT_USER\Software\Gabest\DVobSub\General
and check the value stored for the 'LoadLevel' entry.
If the value is different than 2 then change it to 2 and remember its primary value.
When closing subs or exiting SP restore its earlier value.

This is the only idea that comes to my mind.

Greets,
Prozac

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.