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

Logout Mark Read Team Forum Stats Members Help
Fixing PGS subtitle bug0