Thanks Seb, I tested your v2 on .mkv files with .srt and .ass subs and it works fine.
However I have an issue with squeezed subtitles when using the setting Position relative to video frame. I think we discussed this issue a long time ago so it's not a problem of this patch.
Let's see some screenshots to show you what I mean. I compared the setting in MediaPortal and MPC-HC application:
As you can see, MPC-HC moves and shrinks the subtitle (i guess it is compressed both vertically and horizontally) but MediaPortal just compress it vertically.
- MediaPortal - Position relative to video frame turned off - Normal:
View attachment 118672- MediaPortal - Position relative to video frame turned on - Squished:
View attachment 118671- MPC-HC - Position relative to video frame turned off - Normal:
View attachment 118674- MPC-HC - Position relative to video frame turned on - Normal:
View attachment 118673
Do you think it's possible to get MediaPortal to behave like MPC-HC?
TNX for the sample mironicus! That helped a lot. I just installed the branch on my Test system and tried to reproduce your issue, which i can! It's related to the dshowhelper.dll file. When i replace the file in the HomeY branch with the 1 from the 1.3Beta release, the issue is gone, so it's not related to the Subtitle code
If you use the attached (1.3Beta) dshowhelper, your problem should be fixed.
@Owlsroost might need to look into this.