Commit e694bddf authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

Remove libgmyth-based MythTV source element which was never ported

gmyth seems to be unmaintained upstream, and no one has asked
for this to be ported for a very long time, so let's just
remove it. Neither debian nor Fedora seem to ship libgmyth
any longer, and in any case it's most likely deprecated by
the UPnP support in MythTV.
parent 174ea7af
......@@ -413,7 +413,7 @@ dnl Make sure you have a space before and after all plugins
GST_PLUGINS_NONPORTED=" cdxaparse \
dccp faceoverlay \
hdvparse \
mve mythtv nuvdemux \
mve nuvdemux \
patchdetect real \
sdi tta \
videomeasure \
......@@ -2433,16 +2433,6 @@ AG_GST_CHECK_FEATURE(MUSEPACK, [musepackdec], musepack, [
], [HAVE_MUSEPACK="no"])])
])
dnl *** MythTV ***
translit(dnm, m, l) AM_CONDITIONAL(USE_MYTHTV, true)
AG_GST_CHECK_FEATURE(MYTHTV, [MythTV client plugins], mythtvsrc, [
PKG_CHECK_MODULES(GMYTH, gmyth >= 0.4 gmyth <= 0.7.99, HAVE_MYTHTV="yes", [
HAVE_MYTHTV="no"
])
AC_SUBST(GMYTH_CFLAGS)
AC_SUBST(GMYTH_LIBS)
])
dnl *** nas ***
translit(dnm, m, l) AM_CONDITIONAL(USE_NAS, true)
AG_GST_CHECK_FEATURE(NAS, [nas plug-in], nassink, [
......@@ -3044,7 +3034,6 @@ AM_CONDITIONAL(USE_MPEG2ENC, false)
AM_CONDITIONAL(USE_MPG123, false)
AM_CONDITIONAL(USE_MPLEX, false)
AM_CONDITIONAL(USE_MUSEPACK, false)
AM_CONDITIONAL(USE_MYTHTV, false)
AM_CONDITIONAL(USE_NAS, false)
AM_CONDITIONAL(USE_NEON, false)
AM_CONDITIONAL(USE_OFA, false)
......@@ -3349,7 +3338,6 @@ ext/mpg123/Makefile
ext/mimic/Makefile
ext/mplex/Makefile
ext/musepack/Makefile
ext/mythtv/Makefile
ext/nas/Makefile
ext/neon/Makefile
ext/ofa/Makefile
......
......@@ -85,7 +85,6 @@ EXTRA_HFILES = \
$(top_srcdir)/ext/modplug/gstmodplug.h \
$(top_srcdir)/ext/mpeg2enc/gstmpeg2enc.hh \
$(top_srcdir)/ext/mplex/gstmplex.hh \
$(top_srcdir)/ext/mythtv/gstmythtvsrc.h \
$(top_srcdir)/ext/opencv/gstcvdilate.h \
$(top_srcdir)/ext/opencv/gstcverode.h \
$(top_srcdir)/ext/opencv/gstcvequalizehist.h \
......
......@@ -1015,21 +1015,6 @@ GST_TYPE_MPG123_AUDIO_DEC
gst_mpg123_audio_dec_get_type
</SECTION>
<SECTION>
<FILE>element-mythtvsrc</FILE>
<TITLE>mythtvsrc</TITLE>
GstMythtvSrc
<SUBSECTION Standard>
GstMythtvSrcClass
GstMythtvState
GST_MYTHTV_SRC
GST_MYTHTV_SRC_CLASS
GST_IS_MYTHTV_SRC
GST_IS_MYTHTV_SRC_CLASS
GST_TYPE_MYTHTV_SRC
gst_mythtv_src_get_type
</SECTION>
<SECTION>
<FILE>element-mxfdemux</FILE>
<TITLE>mxfdemux</TITLE>
......
......@@ -19018,81 +19018,6 @@
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstMythtvSrc::location</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Location</NICK>
<BLURB>The location. In the form:
myth://a.com/file.nuv
myth://a.com:23223/file.nuv
myth://a.com/?channel=123
myth://a.com/?channel=Channel%203
a.com/file.nuv - default scheme 'myth'.</BLURB>
<DEFAULT>""</DEFAULT>
</ARG>
<ARG>
<NAME>GstMythtvSrc::mythtv-channel</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>mythtv-channel</NICK>
<BLURB>Change MythTV channel number.</BLURB>
<DEFAULT>""</DEFAULT>
</ARG>
<ARG>
<NAME>GstMythtvSrc::mythtv-enable-timing-position</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>mythtv-enable-timing-position</NICK>
<BLURB>Enable MythTV Live TV content size continuous updating.</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstMythtvSrc::mythtv-live</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>mythtv-live</NICK>
<BLURB>Enable MythTV Live TV content streaming.</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstMythtvSrc::mythtv-live-chainid</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>mythtv-live-chainid</NICK>
<BLURB>Sets the MythTV chain ID (from TV Chain).</BLURB>
<DEFAULT>""</DEFAULT>
</ARG>
<ARG>
<NAME>GstMythtvSrc::mythtv-live-id</NAME>
<TYPE>gint</TYPE>
<RANGE>[0,200]</RANGE>
<FLAGS>rw</FLAGS>
<NICK>mythtv-live-id</NICK>
<BLURB>Change MythTV version.</BLURB>
<DEFAULT>1</DEFAULT>
</ARG>
<ARG>
<NAME>GstMythtvSrc::mythtv-version</NAME>
<TYPE>gint</TYPE>
<RANGE>[26,30]</RANGE>
<FLAGS>rw</FLAGS>
<NICK>mythtv-version</NICK>
<BLURB>Change MythTV version.</BLURB>
<DEFAULT>26</DEFAULT>
</ARG>
<ARG>
<NAME>GstGLTestSrc::is-live</NAME>
<TYPE>gboolean</TYPE>
......@@ -208,12 +208,6 @@ else
MUSEPACK_DIR=
endif
if USE_MYTHTV
MYTHTV_DIR=mythtv
else
MYTHTV_DIR=
endif
if USE_NAS
NAS_DIR=nas
else
......@@ -456,7 +450,6 @@ SUBDIRS=\
$(MIMIC_DIR) \
$(MPLEX_DIR) \
$(MUSEPACK_DIR) \
$(MYTHTV_DIR) \
$(NAS_DIR) \
$(NEON_DIR) \
$(OFA_DIR) \
......@@ -522,7 +515,6 @@ DIST_SUBDIRS = \
mpg123 \
mplex \
musepack \
mythtv \
nas \
neon \
ofa \
......
plugin_LTLIBRARIES = libgstmythtvsrc.la
libgstmythtvsrc_la_SOURCES = \
gstmythtvsrc.c
libgstmythtvsrc_la_CFLAGS = \
$(GST_CFLAGS) \
$(GMYTH_CFLAGS)
libgstmythtvsrc_la_LDFLAGS = \
$(GST_PLUGIN_LDFLAGS)
libgstmythtvsrc_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
libgstmythtvsrc_la_LIBADD = \
$(GST_BASE_LIBS) \
$(GMYTH_LIBS)
noinst_HEADERS = \
gstmythtvsrc.h
This diff is collapsed.
/*
* GStreamer
* Copyright (C) <2006> INdT - Rosfran Borges <rosfran.borges@indt.org.br>
* Copyright (C) <2007> INdT - Rentao Filho <renato.filho@indt.org.br>
*
* This library is free software; you can
* redistribute it and/or modify it under the terms of the GNU Library
* General Public License as published by the Free Software Foundation;
* either version 2 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
* General Public License for more details. You should have received a copy
* of the GNU Library General Public License along with this library; if
* not, write to the Free Software Foundation, Inc., 51 Franklin St,
* Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __GST_MYTHTV_SRC_H__
#define __GST_MYTHTV_SRC_H__
#include <gst/gst.h>
#include <gst/base/gstbasesrc.h>
#include <gst/base/gstpushsrc.h>
#include <stdio.h>
#include <gmyth/gmyth_socket.h>
#include <gmyth/gmyth_file.h>
#include <gmyth/gmyth_file_transfer.h>
#include <gmyth/gmyth_file_local.h>
#include <gmyth/gmyth_livetv.h>
#include <gmyth/gmyth_backendinfo.h>
G_BEGIN_DECLS
#define GST_TYPE_MYTHTV_SRC \
(gst_mythtv_src_get_type())
#define GST_MYTHTV_SRC(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_MYTHTV_SRC,GstMythtvSrc))
#define GST_MYTHTV_SRC_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_MYTHTV_SRC,GstMythtvSrcClass))
#define GST_IS_MYTHTV_SRC(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_MYTHTV_SRC))
#define GST_IS_MYTHTV_SRC_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MYTHTV_SRC))
typedef struct _GstMythtvSrc GstMythtvSrc;
typedef struct _GstMythtvSrcClass GstMythtvSrcClass;
typedef enum {
GST_MYTHTV_SRC_FILE_TRANSFER,
GST_MYTHTV_SRC_NEXT_PROGRAM_CHAIN,
GST_MYTHTV_SRC_INVALID_DATA
} GstMythtvState;
struct _GstMythtvSrc {
GstPushSrc element;
/*
* MythFileTransfer
*/
GMythFile *file;
GMythLiveTV *spawn_livetv;
GMythBackendInfo *backend_info;
GstMythtvState state;
gchar *uri_name;
gchar *user_agent;
gchar *live_chain_id;
gint mythtv_version;
gint64 content_size;
gint64 prev_content_size;
gint64 content_size_last;
guint64 bytes_read;
gint64 read_offset;
gboolean eos;
gboolean do_start;
gboolean unique_setup;
gboolean live_tv;
gboolean enable_timing_position;
gint live_tv_id;
gchar *channel_name;
guint mode;
/*
* MythTV capabilities
*/
GstCaps *mythtv_caps;
gboolean update_prog_chain;
/*
* stablish a maximum iteration value to the IS_RECORDING message
*/
guint wait_to_transfer;
};
struct _GstMythtvSrcClass {
GstPushSrcClass parent_class;
};
GType gst_mythtv_src_get_type(void);
G_END_DECLS
#endif /* __GST_MYTHTV_SRC_H__ */
......@@ -103,7 +103,7 @@ gstreamer-plugins-bad contains plug-ins that aren't
tested well enough, or the code is not of good enough quality.
This package (gstreamer-plugins-bad-extras) contains extra "bad" plugins for
sources (mythtv), sinks (jack) and effects (pitch) which are not used
sources, sinks (jack) and effects (pitch) which are not used
very much and require additional libraries to be installed.
......@@ -303,7 +303,6 @@ make ERROR_CFLAGS='' ERROR_CXXFLAGS=''
%defattr(-,root,root,-)
# Plugins with external dependencies
# %{_libdir}/gstreamer-%{majorminor}/libgstjack.so
# %{_libdir}/gstreamer-%{majorminor}/libgstmythtvsrc.so
# %{_libdir}/gstreamer-%{majorminor}/libgstsdl.so
# %{_libdir}/gstreamer-%{majorminor}/libgstsoundtouch.so
# %{_libdir}/gstreamer-%{majorminor}/libgsttimidity.so
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment