1 /* GStreamer 2 * 3 * Copyright (C) 2019-2020 Stephan Hesse <stephan@emliri.com> 4 * Copyright (C) 2020 Thibault Saunier <tsaunier@igalia.com> 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Library General Public 8 * License as published by the Free Software Foundation; either 9 * version 2 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Library General Public License for more details. 15 * 16 * You should have received a copy of the GNU Library General Public 17 * License along with this library; if not, write to the 18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 19 * Boston, MA 02110-1301, USA. 20 */ 21 #pragma once 22 23 #include <gst/gst.h> 24 #include <gst/transcoder/gsttranscoder.h> 25 26 G_BEGIN_DECLS 27 28 /** 29 * GstTranscoderSignalAdapter: 30 * 31 * Transforms #GstTranscoder bus messages to signals from the adapter object. 32 * 33 * Since: 1.20 34 */ 35 36 /** 37 * GST_TYPE_TRANSCODER_SIGNAL_ADAPTER: 38 * 39 * Since: 1.20 40 */ 41 #define GST_TYPE_TRANSCODER_SIGNAL_ADAPTER (gst_transcoder_signal_adapter_get_type ()) 42 GST_TRANSCODER_API 43 44 /** 45 * GstTranscoderSignalAdapterClass: 46 * 47 * Since: 1.20 48 */ 49 G_DECLARE_FINAL_TYPE(GstTranscoderSignalAdapter, gst_transcoder_signal_adapter, GST, TRANSCODER_SIGNAL_ADAPTER, GObject) 50 51 GST_TRANSCODER_API 52 GstTranscoder * gst_transcoder_signal_adapter_get_transcoder (GstTranscoderSignalAdapter * self); 53 54 55 G_END_DECLS 56