From 552007f839a3d9d508a8f1e725b5230d56025c7c Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Wed, 24 Feb 2021 18:43:07 +0000 Subject: [PATCH] transcoder: Remove un-needed gst_init call We can safely assume GStreamer is already initialized from here. Part-of: --- docs/meson.build | 3 +-- gst-libs/gst/transcoder/gsttranscoder.c | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/meson.build b/docs/meson.build index 929baa6..25d5743 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -84,8 +84,7 @@ excludes = [] foreach f: [ 'gst/frei0r/frei0r.h', 'gst/mxf/mxful.c', - 'gst-libs/gst/mpegts/gstmpegts-private.h', - 'gst-libs/gst/player/*-private.h', + 'gst-libs/gst/*/*-private.h', 'gst-libs/gst/codecparsers/nalutils.h', 'ext/closedcaption/bcd.h', 'ext/closedcaption/bit_slicer.[ch]', diff --git a/gst-libs/gst/transcoder/gsttranscoder.c b/gst-libs/gst/transcoder/gsttranscoder.c index 2e71022..850129a 100644 --- a/gst-libs/gst/transcoder/gsttranscoder.c +++ b/gst-libs/gst/transcoder/gsttranscoder.c @@ -813,8 +813,6 @@ gst_transcoder_main (gpointer data) static gpointer gst_transcoder_init_once (G_GNUC_UNUSED gpointer user_data) { - gst_init (NULL, NULL); - GST_DEBUG_CATEGORY_INIT (gst_transcoder_debug, "gst-transcoder", 0, "GstTranscoder"); gst_transcoder_error_quark (); -- 2.7.4