[mythtv-firehose] mythtv/master commit: 18a00f6c1 by Dave Badia (dbadia)
MythTV
noreply at mythtv.org
Mon Jun 27 00:08:33 UTC 2011
Author: Dave Badia <dbadia at gmail.com>
Change Date: 2011-06-26T17:02:11-07:00
Push Date: 2011/06/26 17:08:26 -0700
Repository: mythtv
Branch: master
New Revision: 18a00f6c10b1a0a5fbaf8abebadeb0453e68b0ef
Changeset: https://github.com/MythTV/mythtv/commit/18a00f6c1
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-firehose
mailing list