
mythtv at cvs
Jan 8, 2010, 5:07 PM
Post #8 of 10
(1077 views)
Permalink
|
|
Re: Ticket #6869: Subtitles not working for avi with multiple dots in filename
[In reply to]
|
|
#6869: Subtitles not working for avi with multiple dots in filename ----------------------------------------------+----------------------------- Reporter: Paul Kendall <paul@…> | Owner: danielk Type: defect | Status: closed Priority: trivial | Milestone: unknown Component: MythTV - General | Version: head Severity: low | Resolution: fixed Mlocked: 0 | ----------------------------------------------+----------------------------- Comment(by leipzig@…): Hi there, I have had some trouble with the subtitling. The patch solved the multidot filenames issue, but it seems that for files with "[" "]" characters there is one more problem. The substitution in the filter pattern works fine in order to find files on QDir, but now baseName contains the /replaced/ version too (http://qt.nokia.com/doc/4.6/qstring.html#replace), so this code {{{ 257 QFileInfo fi(dirName + "/" + baseName + (*cit).right(4)); }}} looks for a file with "?" characters on it, which does not exist. I have replaced that line with {{{ 257 QFileInfo fi(dirName + "/" + *cit); }}} and now my compilation seems to work fine. What do you think? --Héctor -- Ticket URL: <http://svn.mythtv.org/trac/ticket/6869#comment:7> MythTV <http://www.mythtv.org/> MythTV _______________________________________________ mythtv-commits mailing list mythtv-commits [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
|