[mythtv-commits] mythtv/fixes/0.24 commit: e3953dc8a by Dave Badia (dbadia)

MythTV noreply at mythtv.org
Mon Jun 27 00:08:41 UTC 2011


      Author:  Dave Badia <dbadia at gmail.com>
 Change Date:  2011-06-26T17:01:01-07:00
   Push Date:  2011/06/26 17:08:34 -0700
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  e3953dc8a90b877eb303f063a9a1878e26bc7d5b
   Changeset:  https://github.com/MythTV/mythtv/commit/e3953dc8a

Log:

Fix stream_backend_file in the perl bindings

stream_backend_file seems to be broken in 24-fixes and master in the following
ways:
1. When sending the FileTransfer command, it doesn't include all required
parameters causing the backend to respond with "malformed_filetransfer_command"
2. The length of the file to be streamed is not parsed correctly when >
2147483647, which results in corrupt or zero length files being written to
disk

This patch fixes these issues.  Patch applies cleanly to 24-fixes and master

The file length fix was tested against files of lengths 2012338647
(regression), 2500703244 (requires conversion to unsigned to be interpreted
correctly), and 31219659384 (test longlong)

Fixes #9837

Signed-off-by: Gavin Hurlbut <ghurlbut at mythtv.org>

Modified:

   mythtv/bindings/perl/MythTV.pm



More information about the mythtv-commits mailing list