[mythtv-commits] mythtv commit: d5d1cc1 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Wed Dec 8 05:09:35 UTC 2010


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2010-12-06T01:03:07-08:00
   Push Date:  2010/12/07 21:09:23 -0800
  Repository:  mythtv
      Branch:  temp/newaudiosetup
New Revision:  d5d1cc16c11ebb32e0c37ebdf51a25ff1f0bd051
   Changeset:  https://github.com/MythTV/mythtv/commit/d5d1cc1

Log:

Fix file streaming to stay working past 4G

The previous logic would loop, and remove 2G from llBytes the first time
through the loop (correctly), but remove 4G from llBytes the second time
through the loop (very incorrectly).  This causes a UPnP client, etc to
abruptly stop after 4G if the file size is between 4G and 6G, and 2G early for
file size of 6G to 8G, and so on.

I simplified the logic to work correctly in my testing.

Modified:

   mythtv/libs/libmythupnp/httprequest.cpp



More information about the mythtv-commits mailing list