Verified Commit aad2a505 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed issue when transcoding from federation

parent 9671db02
......@@ -323,9 +323,7 @@ def handle_serve(upload, user, format=None, max_bitrate=None):
mt = f.mimetype
if should_transcode(f, format, max_bitrate=max_bitrate):
transcoded_version = upload.get_transcoded_version(
format, max_bitrate=max_bitrate
transcoded_version = f.get_transcoded_version(format, max_bitrate=max_bitrate)
transcoded_version.accessed_date = now["accessed_date"])
f = transcoded_version
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment