qtdemux: Use pbutils for H.264 profile/level extraction
The functions used to extract this data have been moved to gstpbutils to
facilitate reuse.
https://bugzilla.gnome.org/show_bug.cgi?id=617318
diff --git a/gst/qtdemux/quicktime.c b/gst/qtdemux/quicktime.c
index a2da40f..d567a8c 100644
--- a/gst/qtdemux/quicktime.c
+++ b/gst/qtdemux/quicktime.c
@@ -27,6 +27,8 @@
#include "qtdemux.h"
#include "gstrtpxqtdepay.h"
+#include <gst/pbutils/pbutils.h>
+
static gboolean
plugin_init (GstPlugin * plugin)
{
@@ -36,6 +38,8 @@
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#endif /* ENABLE_NLS */
+ gst_pb_utils_init ();
+
/* ensure private tag is registered */
gst_tag_register (GST_QT_DEMUX_PRIVATE_TAG, GST_TAG_FLAG_META,
GST_TYPE_BUFFER, "QT atom", "unparsed QT tag atom",