gstav: stop calling deprecated registration methods
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 29 Jun 2018 19:54:11 +0000 (21:54 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 12 Jul 2018 22:53:27 +0000 (00:53 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=792900

ext/libav/gstav.c

index 709e588..facc700 100644 (file)
 #include <string.h>
 #include <gst/gst.h>
 
-#include <libavcodec/avcodec.h>
-#include <libavformat/avformat.h>
-#include <libavfilter/avfilter.h>
-
 #include "gstav.h"
 #include "gstavutils.h"
 
@@ -157,9 +153,6 @@ plugin_init (GstPlugin * plugin)
 
   gst_ffmpeg_init_pix_fmt_info ();
 
-  av_register_all ();
-  avfilter_register_all ();
-
   gst_ffmpegaudenc_register (plugin);
   gst_ffmpegvidenc_register (plugin);
   gst_ffmpegauddec_register (plugin);