Skip to content

assrender: Support RFC8081 mime types

Rafał Dzięgiel requested to merge Rafostar/gstreamer:assrender-rfc8081 into main

Old "application/" are now as per RFC8081 deprecated in favor of new "font/" mime types. Some new encoders are already using the updated mime types. We need to also add them to the support list in order for assrender to correctly identify them as fonts.

Also add .ttc extension support. TTC stands for "TrueType Collection" file. We can pass it into libass as any other attachment. Add it to the supported extensions list, so the fonts it contains will be used.

Link to RFC8081: https://datatracker.ietf.org/doc/html/rfc8081

"font/" mime types defined at IANA: https://www.iana.org/assignments/media-types/media-types.xhtml#font

Merge request reports

Loading