assrender: Do not iterate over mimetypes without filename
authorRafał Dzięgiel <rafostar.github@gmail.com>
Wed, 20 Jan 2021 12:38:03 +0000 (13:38 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 21 Oct 2021 22:21:40 +0000 (22:21 +0000)
commit18b5806ab92b0130a4231391b80a75cd5aae39b3
tree7d524a8d4107130de37fe118855f9eadac01d33d
parente6ff71f8e77eb50fbdd42d7e499537e928d5a830
assrender: Do not iterate over mimetypes without filename

No point spending time on iterating and comparing strings if we
are going to reject the value due to missing filename anyway.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1206>
subprojects/gst-plugins-bad/ext/assrender/gstassrender.c