Think I just found it. That problematic commit seems to disable dvb subtitle processing in sout mode. After I removed that check (see patch below) "burning" dvb subtitles to image work again even with rest of ttxsubs patch still applied.
Hopefully someone with better understanding of C and VLC could take a look at this and make proper fix to implement on next release as now problem has been narrowed to few lines - no need to go thru four months worth of commits anymore.
Code: Select all
--- modules/demux/ts.c.old 2008-12-23 00:59:54.000000000 +0200 +++ modules/demux/ts.c 2008-12-23 01:10:05.000000000 +0200 @@ -3120,10 +3120,6 @@ #ifdef _DVBPSI_DR_59_H_ pid->es->fmt.i_group = p_pmt->i_program_number; - /* In stream output mode, only enable descriptor - * pass-through. */ - if( !p_demux->out->b_sout ) - { uint16_t n, i = 0; dvbpsi_subtitling_dr_t *sub; @@ -3208,13 +3204,7 @@ if( !i ) pid->es->fmt.i_cat = UNKNOWN_ES; - } - else #endif /* _DVBPSI_DR_59_H_ */ - { - pid->es->fmt.subs.dvb.i_id = -1; - pid->es->fmt.psz_description = strdup( "DVB subtitles" ); - } } } }
Yes, I downloaded VLC via git (March 6th 2009) and compiled it with this patch and its working.Tried with 1.0?
The patch file didn't work for me either so I opened the patch file with some text editor and manually removed lines to be removed and added lines to be added...BUT - I cannot figure out how to apply the patch to the current code (1.0.0)- as it (ts.c) has changed a lot. So I tried to download the source for 0.9.8a - but cannot get the code compiled (tried with different contribs' etc) - until 2 o'clock this morning
When someone sends working patch to mailinglist and someone merges it.When this bug will be repared?
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: Google [Bot] and 17 guests