[mythtv] [mythtv-commits] Ticket #7111: subtitles in mythvideo vanish after 5 minutes

Joe Ripley vitaminjoe at gmail.com
Tue Sep 22 03:22:04 UTC 2009


On Mon, Sep 21, 2009 at 8:58 PM, Chris Pinkham <cpinkham at bc2va.org> wrote:
> * On Mon Sep 21, 2009 at 07:03:48PM -0600, Joe Ripley wrote:
>> The problem that I'm having actually comes from a function in
>> xine_demux_sputext.cpp.  This is the code that actually parses the
>> SubRip format (as well as others).  It looks like the code stops
>> reading the file prematurely.
>>
>> It only reads the first 1000 bytes of the file and then bails.  This
>> is directly related to the LINE_LEN definition.  It's hitting this
>> limit and then stopping.
>
> Unless you're working on a patch for this, can you give a little bit
> more info on this so that someone else can take a look?  I looked at
> the current code in xine where we grabbed this file from and there
> have been a lot of changes since the version we are using. I'm
> sure some of those are bugs, but it's too late to get an updated
> version into 0.22, but we could integrate a bugfix for this
> particular issue if we have one.

Yes, I'm working on one... I've got a pretty good idea as to what I
need to modify. I'm sure I'll have something ready for people to test
tomorrow.

-- 
Joe Ripley
vitaminjoe at gmail.com


More information about the mythtv-dev mailing list