typefind: Add _with_extension() variants for typefinding data or a buffer
authorSebastian Dröge <sebastian@centricular.com>
Tue, 24 Jul 2018 14:28:45 +0000 (17:28 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 24 Jul 2018 22:12:11 +0000 (01:12 +0300)
commitd196b0b904e00f254b0cc54ca18d0deb47b823ee
tree7be9842382eaa7b8a1f8d4a5b18428a7adb99d84
parentb079334c1c8f250a6b15c5c6950d60d5eb849c2b
typefind: Add _with_extension() variants for typefinding data or a buffer

And make use of that in the typefind element to also be able to make use
of the extension in push mode. It previously only did that in pull mode
and this potentially speeds up typefinding and might also prevent false
positives.

https://bugzilla.gnome.org/show_bug.cgi?id=796865
docs/libs/gstreamer-libs-sections.txt
libs/gst/base/gsttypefindhelper.c
libs/gst/base/gsttypefindhelper.h
plugins/elements/gsttypefindelement.c
win32/common/libgstbase.def