[mythtv-commits] mythtv commit: r25988 - in trunk/mythtv/libs by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Aug 30 03:30:19 UTC 2010

      Author: cpinkham
        Date: 2010-08-30 03:30:19 +0000 (Mon, 30 Aug 2010)
New Revision: 25988
   Changeset: http://svn.mythtv.org/trac/changeset/25988


A couple more streaming DVD/BD optimizations.

1) In mythfile_open, stat the file being opened to verify
   that it is not a directory.  The DVD code likes to
   test whether the pathname supplied is a directory or
   an image or a file, and this helps shorten that test.
   We realy shouldn't be allowing code to open() a
   directory anyway.

2) Work around another SEEK_END usage in the BD code.
   This was used in combination with tell() when reading in
   a lot of the files in order to find out the file size.
   We can use our stat() which is much quicker and won't
   flush the readahead buffer in our RingBuffer.



More information about the mythtv-commits mailing list