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

MythTV noreply at mythtv.org
Mon Dec 6 09:08:16 UTC 2010


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2010-12-06T01:07:54-08:00
   Push Date:  2010/12/06 01:08:13 -0800
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  011ffd5134d5e6e7baace071a4ebc70d6bdd3fb0
   Changeset:  https://github.com/MythTV/mythtv/commit/011ffd5

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