Fixing PGS subtitle bug
#1
Hi,

i am trying to fix a bug with PGS subtitles in 3D mode. I found the place where the bug happens but i don't understand the purpose of the modification of width or height of the subtitle overlay which is done only in 3D mode. (see  File: xbmc/cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayCodecFFmpeg.cpp Line: 245ff)
When i comment this out all is going fine with PGS subtitles in 3D mode.

Can someone tell me the purpose of this code?


ps: i hope this is not again a double or cross post
Reply
#2
(2021-07-06, 09:39)hugohuetzel Wrote: Hi,

i am trying to fix a bug with PGS subtitles in 3D mode. I found the place where the bug happens but i don't understand the purpose of the modification of width or height of the subtitle overlay which is done only in 3D mode. (see  File: xbmc/cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayCodecFFmpeg.cpp Line: 245ff)
When i comment this out all is going fine with PGS subtitles in 3D mode.

Can someone tell me the purpose of this code?


ps: i hope this is not again a double or cross post
The modification of width or height of the subtitle overlay in 3D mode (Line 245ff in DVDOverlayCodecFFmpeg.cpp) seems to be causing a bug with PGS subtitles. By commenting it out, the issue is resolved. The code likely adjusts the subtitle rendering for 3D content, but further investigation is needed to understand its exact purpose.
Reply
#3
Hi! This is an old thread but how can I find this file?
Reply
#4
It's part of the code base at the xbmc team github account xbmc repo, but unless you are in a position to compile/build Kodi yourself doesn't do you any good.  You can start with the wiki though if interested.

scott s.
.
Reply

Logout Mark Read Team Forum Stats Members Help
Fixing PGS subtitle bug0
This forum uses Lukasz Tkacz MyBB addons.