GNOME Bugzilla – Bug 502771
Fix MTP transcoding issues
Last modified: 2008-07-25 12:40:11 UTC
When current HEAD tries to transfer a file to a device, and has to transcode it, it reports the file size of the original file to libmtp, which results in an error, and makes RB unable to transfer any tracks it has to transcode. This patch fixes that, and updates the code to use the LIBMTP_Get_Tracklisting_With_Callback function instead of the deprecated LIBMTP_Get_Tracklisting.
Created attachment 100672 [details] [review] FIx against current svn head
Thanks for tracking this down. I think it'd be better to fix this by having the encoder include the size of the output file in its 'completed' signal, since it's likely that this same issue will come up with other similar plugins.
I have no idea how to do that....
I'm doing it. Unsuccessfully so far, but I'm doing it.
*** Bug 475074 has been marked as a duplicate of this bug. ***
Created attachment 109120 [details] [review] long overdue patch In the end, I gave up on getting the transcoding pipeline to give me the size of the output file directly, and just used gnome-vfs to get it.
I've committed the patch, but as far as I know it hasn't been tested. If someone could confirm that it works, or reopen the bug if it doesn't, that'd be great..
the patch works for me. I haven't tried after the commit, though.