From: Simon Farnsworth <simon.farnsworth@on...> - 2007-06-25 10:15:53
I'm trying to use DVB subtitles in a kiosk application, but I'm finding
them unreliable. I'm in a marginal signal area (although I don't believe
that this is relevant). My xine-lib is 1.1.6 with the patches I've sent
to this mailing list (I can provide a full diff against 1.1.6 if needed).
I've already sent a patch for a memory leak bug I found; I'm now seeing
a segfault bug, where dvbsub_timer_func (xine_spudvb_decoder.c:573) runs
when this->stream is 0, and promptly crashes.
However, I'm not quite sure *why* dvbsub_timer_func exists. It appears
to be intended to remove subtitles from the screen after a timeout, but
it looks to me like spudec_decode_data (xine_spudvb_decoder.c:638) will
hide subtitles based on incoming packets.
I'm also assuming that the core will reset the decoder if subtitles go
away; if I'm wrong, please correct me.
What should I do to handle this segfault? I'm inclined to remove
dvbsub_timer_func, and see what happens, but I'd like to know why it's
From: Felix Domke <tmbinc@el...> - 2007-06-25 12:10:02
> However, I'm not quite sure *why* dvbsub_timer_func exists. It appears
> to be intended to remove subtitles from the screen after a timeout, but
> it looks to me like spudec_decode_data (xine_spudvb_decoder.c:638) will
> hide subtitles based on incoming packets.
DVB subtitles have an "emergency timeout", after which they should
disappear, even without receiving new data. See en300743, "page
composition segment", page_time_out.