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

Remove real plugin which is no longer needed and has never been ported

Decoders for these formats exist in gst-libav, if anyone
still has a need for them.
parent e694bddf
......@@ -414,7 +414,7 @@ GST_PLUGINS_NONPORTED=" cdxaparse \
dccp faceoverlay \
hdvparse \
mve nuvdemux \
patchdetect real \
patchdetect \
sdi tta \
videomeasure \
linsys \
......@@ -476,7 +476,6 @@ AG_GST_CHECK_PLUGIN(patchdetect)
AG_GST_CHECK_PLUGIN(pcapparse)
AG_GST_CHECK_PLUGIN(pnm)
AG_GST_CHECK_PLUGIN(rawparse)
AG_GST_CHECK_PLUGIN(real)
AG_GST_CHECK_PLUGIN(removesilence)
AG_GST_CHECK_PLUGIN(rtp)
AG_GST_CHECK_PLUGIN(sdi)
......@@ -498,12 +497,6 @@ AG_GST_CHECK_PLUGIN(yadif)
dnl *** plug-ins to exclude ***
dnl real plugin only works on i386 and x86_64 for the time being.
if test "x$HAVE_CPU_I386" != "xyes" && test "x$HAVE_CPU_X86_64" != "xyes"; then
AC_MSG_WARN([Not building real plugin, only works on 32bit and 64bit x86 platforms])
AG_GST_DISABLE_PLUGIN(real)
fi
AC_CHECK_HEADER(AVFoundation/AVFoundation.h, HAVE_AVFOUNDATION="yes", HAVE_AVFOUNDATION="no", [-])
AC_CHECK_HEADER(MobileCoreServices/MobileCoreServices.h, HAVE_IOS="yes", HAVE_IOS="no", [-])
AC_CHECK_HEADER(VideoToolbox/VideoToolbox.h, HAVE_VIDEOTOOLBOX="yes", HAVE_VIDEOTOOLBOX="no", [-])
......@@ -3206,7 +3199,6 @@ gst/patchdetect/Makefile
gst/pcapparse/Makefile
gst/pnm/Makefile
gst/rawparse/Makefile
gst/real/Makefile
gst/removesilence/Makefile
gst/rtp/Makefile
gst/sdi/Makefile
......
......@@ -17378,206 +17378,6 @@
<DEFAULT>640</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::password</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Password</NICK>
<BLURB>Password.</BLURB>
<DEFAULT>"Ardubancel Quazanga"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::path-ra14-4</NAME>
<TYPE>gchararray</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Path to 14_4 driver</NICK>
<BLURB>Path to 14_4 driver.</BLURB>
<DEFAULT>"/usr/lib/win32/14_4.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::path-ra28-8</NAME>
<TYPE>gchararray</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Path to 28_8 driver</NICK>
<BLURB>Path to 28_8 driver.</BLURB>
<DEFAULT>"/usr/lib/win32/28_8.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::path-raatrk</NAME>
<TYPE>gchararray</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Path to atrk driver</NICK>
<BLURB>Path to atrk driver.</BLURB>
<DEFAULT>"/usr/lib/win32/atrk.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::path-racook</NAME>
<TYPE>gchararray</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Path to cook driver</NICK>
<BLURB>Path to cook driver.</BLURB>
<DEFAULT>"/usr/lib/win32/cook.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::path-rasipr</NAME>
<TYPE>gchararray</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Path to sipr driver</NICK>
<BLURB>Path to sipr driver.</BLURB>
<DEFAULT>"/usr/lib/win32/sipr.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::ra14-4-names</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Names of 14_4 driver</NICK>
<BLURB>Names of 14_4 driver.</BLURB>
<DEFAULT>"14_4.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::ra28-8-names</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Names of 28_8 driver</NICK>
<BLURB>Names of 28_8 driver.</BLURB>
<DEFAULT>"28_8.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::raatrk-names</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Names of atrk driver</NICK>
<BLURB>Names of atrk driver.</BLURB>
<DEFAULT>"atrc.so:atrc.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::racook-names</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Names of cook driver</NICK>
<BLURB>Names of cook driver.</BLURB>
<DEFAULT>"cook.so:cook.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::rasipr-names</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Names of sipr driver</NICK>
<BLURB>Names of sipr driver.</BLURB>
<DEFAULT>"sipr.so:sipr.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealAudioDec::real-codecs-path</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Path where to search for RealPlayer codecs</NICK>
<BLURB>Path where to search for RealPlayer codecs.</BLURB>
<DEFAULT>"/usr/lib64/win32:/usr/lib64/codecs:/usr/local/lib64/win32:/usr/local/lib64/codecs"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealVideoDec::path-rv20</NAME>
<TYPE>gchararray</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Path to rv20 driver</NICK>
<BLURB>Path to rv20 driver.</BLURB>
<DEFAULT>"/usr/lib/win32/drv2.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealVideoDec::path-rv30</NAME>
<TYPE>gchararray</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Path to rv30 driver</NICK>
<BLURB>Path to rv30 driver.</BLURB>
<DEFAULT>"/usr/lib/win32/drv3.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealVideoDec::path-rv40</NAME>
<TYPE>gchararray</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Path to rv40 driver</NICK>
<BLURB>Path to rv40 driver.</BLURB>
<DEFAULT>"/usr/lib/win32/drv4.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealVideoDec::real-codecs-path</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Path where to search for RealPlayer codecs</NICK>
<BLURB>Path where to search for RealPlayer codecs.</BLURB>
<DEFAULT>"/usr/lib64/win32:/usr/lib64/codecs:/usr/local/lib64/win32:/usr/local/lib64/codecs"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealVideoDec::rv20-names</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Names of rv20 driver</NICK>
<BLURB>Names of rv20 driver.</BLURB>
<DEFAULT>"drv2.so:drv2.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealVideoDec::rv30-names</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Names of rv30 driver</NICK>
<BLURB>Names of rv30 driver.</BLURB>
<DEFAULT>"drvc.so:drv3.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealVideoDec::rv40-names</NAME>
<TYPE>gchar*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Names of rv40 driver</NICK>
<BLURB>Names of rv40 driver.</BLURB>
<DEFAULT>"drvc.so:drv4.so.6.0"</DEFAULT>
</ARG>
<ARG>
<NAME>GstRealVideoDec::max-errors</NAME>
<TYPE>gint</TYPE>
<RANGE>>= 0</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Max errors</NICK>
<BLURB>Maximum number of consecutive errors (0 = unlimited).</BLURB>
<DEFAULT>25</DEFAULT>
</ARG>
<ARG>
<NAME>GstOSXVideoSink::embed</NAME>
<TYPE>gboolean</TYPE>
plugin_LTLIBRARIES = libgstreal.la
libgstreal_la_SOURCES = \
gstrealvideodec.c \
gstrealaudiodec.c \
gstreal.c
libgstreal_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS)
libgstreal_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstaudio-@GST_API_VERSION@ \
$(GST_BASE_LIBS)
libgstreal_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstreal_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
noinst_HEADERS = \
gstreal.h \
gstrealvideodec.h \
gstrealaudiodec.h
/* Real wrapper plugin
*
* Copyright (C) Edward Hervey <bilboed@bilboed.com>
*
* 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.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gstreal.h"
#include "gstrealvideodec.h"
#include "gstrealaudiodec.h"
static gboolean
plugin_init (GstPlugin * p)
{
if (!gst_element_register (p, "realvideodec", GST_RANK_MARGINAL,
GST_TYPE_REAL_VIDEO_DEC))
return FALSE;
if (!gst_element_register (p, "realaudiodec", GST_RANK_MARGINAL,
GST_TYPE_REAL_AUDIO_DEC))
return FALSE;
gst_plugin_add_dependency_simple (p, NULL, DEFAULT_REAL_CODECS_PATH, NULL,
GST_PLUGIN_DEPENDENCY_FLAG_NONE);
return TRUE;
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, real,
"Decode REAL streams",
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
/* GStreamer
*
* Copyright (C) 2007 Hans de Goede <j.w.r.degoede@hhs.nl>
*
* 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_REAL_H__
#define __GST_REAL_H__
#ifdef HAVE_CPU_I386
#define DEFAULT_REAL_CODECS_PATH \
"/usr/lib/win32:/usr/lib/codecs:/usr/local/RealPlayer/codecs:" \
"/usr/local/lib/win32:/usr/local/lib/codecs"
#endif
#ifdef HAVE_CPU_X86_64
#define DEFAULT_REAL_CODECS_PATH \
"/usr/lib64/win32:/usr/lib64/codecs:" \
"/usr/local/lib64/win32:/usr/local/lib64/codecs"
#endif
#endif /* __GST_REAL_H__ */
This diff is collapsed.
/* GStreamer
*
* Copyright (C) 2006 Lutz Mueller <lutz@topfrose.de>
*
* 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_REAL_AUDIO_DEC_H__
#define __GST_REAL_AUDIO_DEC_H__
#include <gst/gst.h>
#include <gst/audio/audio.h>
G_BEGIN_DECLS
#define GST_TYPE_REAL_AUDIO_DEC (gst_real_audio_dec_get_type())
#define GST_REAL_AUDIO_DEC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_REAL_AUDIO_DEC,GstRealAudioDec))
#define GST_REAL_AUDIO_DEC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_REAL_AUDIO_DEC,GstRealAudioDecClass))
typedef struct _GstRealAudioDec GstRealAudioDec;
typedef struct _GstRealAudioDecClass GstRealAudioDecClass;
GType gst_real_audio_dec_get_type (void);
G_END_DECLS
#endif /* __GST_REAL_AUDIO_DEC_H__ */
This diff is collapsed.
/* GStreamer
*
* Copyright (C) 2006 Lutz Mueller <lutz@topfrose.de>
* Copyright (C) 2006 Edward Hervey <bilboed@bilbod.com>
*
* 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_REAL_VIDEO_DEC_H__
#define __GST_REAL_VIDEO_DEC_H__
#include <gst/gst.h>
#include <gst/base/gstadapter.h>
G_BEGIN_DECLS
#define GST_TYPE_REAL_VIDEO_DEC (gst_real_video_dec_get_type())
#define GST_REAL_VIDEO_DEC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_REAL_VIDEO_DEC,GstRealVideoDec))
#define GST_REAL_VIDEO_DEC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_REAL_VIDEO_DEC,GstRealVideoDecClass))
typedef struct _GstRealVideoDec GstRealVideoDec;
typedef struct _GstRealVideoDecClass GstRealVideoDecClass;
typedef enum _GstRealVideoDecVersion GstRealVideoDecVersion;
enum _GstRealVideoDecVersion
{
GST_REAL_VIDEO_DEC_VERSION_2 = 2,
GST_REAL_VIDEO_DEC_VERSION_3 = 3,
GST_REAL_VIDEO_DEC_VERSION_4 = 4
};
typedef struct {
GModule *module;
gpointer context;
guint32 (*Init) (gpointer, gpointer);
guint32 (*Free) (gpointer);
guint32 (*Transform) (gchar *, gchar *, gpointer, gpointer, gpointer);
guint32 (*Message) (gpointer, gpointer);
/*
GstRealVideoDecMessageFunc custom_message;
GstRealVideoDecFreeFunc free;
GstRealVideoDecInitFunc init;
GstRealVideoDecTransformFunc transform;
*/
} GstRVDecLibrary;
struct _GstRealVideoDec
{
GstElement parent;
GstPad *src, *snk;
/* Caps */
GstRealVideoDecVersion version;
guint width, height;
gint format, subformat;
gint framerate_num, framerate_denom;
gint error_count;
/* Library functions */
GstRVDecLibrary lib;
/* Properties */
gchar *real_codecs_path;
gboolean checked_modules;
gchar *rv20_names;
gboolean valid_rv20;
gchar *rv30_names;
gboolean valid_rv30;
gchar *rv40_names;
gboolean valid_rv40;
gint max_errors;
};
struct _GstRealVideoDecClass
{
GstElementClass parent_class;
};
GType gst_real_video_dec_get_type (void);
G_END_DECLS
#endif /* __GST_REAL_VIDEO_DEC_H__ */
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