I don't quite understand. Sorry. You mean the decoder does not pass the raw data of what?the subtitle decoder does not pass the raw data.
After a digging the code, I found out the following piece of code shall be able to access the subtitle data from the interface module (like qt4):* The interface module should have a way to access the parsed subtitle data.
This is incorrect and will fail.After a digging the code, I found out the following piece of code shall be able to access the subtitle data from the interface module (like qt4):* The interface module should have a way to access the parsed subtitle data.
THEMIM->getInput() -> p->slave[0]->p_demux->p_sys
Please comment if this is a correct approach. Thx
I understand the restriction now. Looks like the data loaded by the modules can not be easily shared with other modules.This is incorrect and will fail.After a digging the code, I found out the following piece of code shall be able to access the subtitle data from the interface module (like qt4):* The interface module should have a way to access the parsed subtitle data.
THEMIM->getInput() -> p->slave[0]->p_demux->p_sys
Please comment if this is a correct approach. Thx
Do you mean that when rendering the subtitle, output the raw data of that subtitle at the same time?What you should do is probably a new text_renderer module that could output the raw data.
Return to “VLC media player Feature Requests”
Users browsing this forum: No registered users and 7 guests