Skip to content

Add Theora detection to upload.ex

rinpatch requested to merge rinpatch/pleroma:ogg-theora-detection into develop

This patch allows upload.ex to assign a correct mimetype to a Theora video inside of an ogg container. The presence of it is detected by checking the first logical stream of an ogg container as described in Theora specification, section 6.1

Merge request reports