summaryrefslogtreecommitdiff
path: root/src/libreal/real_common.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-17 15:45:37 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-17 15:45:37 +0000
commit7c80aed9bc8e76f02de7afabccaf7dc535181e8c (patch)
tree53bec45107c9495e11bc45ee5972076194e520f6 /src/libreal/real_common.c
parent30252f3b08858d383f4d61651b916f53df48115a (diff)
downloadxine-lib-7c80aed9bc8e76f02de7afabccaf7dc535181e8c.tar.gz
xine-lib-7c80aed9bc8e76f02de7afabccaf7dc535181e8c.tar.bz2
Merge the two real binary codecs plugins in a single plugin that handles both audio and video.
CVS patchset: 8703 CVS date: 2007/03/17 15:45:37
Diffstat (limited to 'src/libreal/real_common.c')
-rw-r--r--src/libreal/real_common.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libreal/real_common.c b/src/libreal/real_common.c
index 7110198db..925a5cc71 100644
--- a/src/libreal/real_common.c
+++ b/src/libreal/real_common.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: real_common.c,v 1.11 2007/03/17 06:11:30 dgp85 Exp $
+ * $Id: real_common.c,v 1.12 2007/03/17 15:45:41 dgp85 Exp $
*
* Common function for the thin layer to use Real binary-only codecs in xine
*/
@@ -149,3 +149,10 @@ void *_x_real_codec_open(xine_stream_t *const stream, const char *const path,
return NULL;
}
+
+const plugin_info_t xine_plugin_info[] EXPORTED = {
+ /* type, API, "name", version, special_info, init_function */
+ { PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "realvdec", XINE_VERSION_CODE, &dec_info_realvideo, init_realvdec },
+ { PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "realadec", XINE_VERSION_CODE, &dec_info_realaudio, init_realadec },
+ { PLUGIN_NONE, 0, "", 0, NULL, NULL }
+};