2020-06-05 15:04:25 +00:00
|
|
|
--- a/src/libreal/real_common.c
|
|
|
|
+++ b/src/libreal/real_common.c
|
2020-06-05 15:12:18 +00:00
|
|
|
@@ -190,6 +190,25 @@ void *_x_real_codec_open(xine_stream_t *
|
2020-06-05 15:04:25 +00:00
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2020-06-05 15:12:18 +00:00
|
|
|
+/*
|
|
|
|
+ * exported plugin catalog entry
|
|
|
|
+ */
|
|
|
|
+static const uint32_t supported_types[] = { BUF_VIDEO_RV30,
|
|
|
|
+ BUF_VIDEO_RV40,
|
|
|
|
+ 0 };
|
2020-06-05 15:04:25 +00:00
|
|
|
+static const decoder_info_t dec_info_realvideo = {
|
|
|
|
+ supported_types, /* supported types */
|
|
|
|
+ 7 /* priority */
|
|
|
|
+};
|
2020-06-05 15:12:18 +00:00
|
|
|
+
|
|
|
|
+static const uint32_t audio_types[] = {
|
|
|
|
+ BUF_AUDIO_COOK, BUF_AUDIO_ATRK, /* BUF_AUDIO_14_4, BUF_AUDIO_28_8, */ BUF_AUDIO_SIPRO, 0
|
|
|
|
+ };
|
2020-06-05 15:04:25 +00:00
|
|
|
+static const decoder_info_t dec_info_realaudio = {
|
|
|
|
+ audio_types, /* supported types */
|
|
|
|
+ 6 /* priority */
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
const plugin_info_t xine_plugin_info[] EXPORTED = {
|
|
|
|
/* type, API, "name", version, special_info, init_function */
|
|
|
|
{ PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 19, "realvdec", XINE_VERSION_CODE, &dec_info_realvideo, init_realvdec },
|
|
|
|
--- a/src/libreal/real_common.h
|
|
|
|
+++ b/src/libreal/real_common.h
|
|
|
|
@@ -75,10 +75,8 @@ void *_x_real_codec_open(xine_stream_t *
|
|
|
|
const char *const codec_name,
|
|
|
|
const char *const codec_alternate);
|
|
|
|
|
|
|
|
-const decoder_info_t dec_info_realvideo;
|
|
|
|
void *init_realvdec (xine_t *xine, const void *data);
|
|
|
|
|
|
|
|
-const decoder_info_t dec_info_realaudio;
|
|
|
|
void *init_realadec (xine_t *xine, const void *data);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
--- a/src/libreal/xine_real_audio_decoder.c
|
|
|
|
+++ b/src/libreal/xine_real_audio_decoder.c
|
2020-06-05 15:12:18 +00:00
|
|
|
@@ -509,16 +509,3 @@ void *init_realadec (xine_t *xine, const
|
|
|
|
_x_real_codecs_init(xine);
|
|
|
|
return (audio_decoder_class_t *)&this;
|
|
|
|
}
|
|
|
|
-
|
|
|
|
-/*
|
|
|
|
- * exported plugin catalog entry
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
-static const uint32_t audio_types[] = {
|
|
|
|
- BUF_AUDIO_COOK, BUF_AUDIO_ATRK, /* BUF_AUDIO_14_4, BUF_AUDIO_28_8, */ BUF_AUDIO_SIPRO, 0
|
|
|
|
- };
|
|
|
|
-
|
2020-06-05 15:04:25 +00:00
|
|
|
-const decoder_info_t dec_info_realaudio = {
|
|
|
|
- audio_types, /* supported types */
|
|
|
|
- 6 /* priority */
|
|
|
|
-};
|
|
|
|
--- a/src/libreal/xine_real_video_decoder.c
|
|
|
|
+++ b/src/libreal/xine_real_video_decoder.c
|
2020-06-05 15:12:18 +00:00
|
|
|
@@ -536,15 +536,3 @@ void *init_realvdec (xine_t *xine, const
|
|
|
|
return (video_decoder_class_t *)&this;
|
|
|
|
}
|
2020-06-05 15:04:25 +00:00
|
|
|
|
2020-06-05 15:12:18 +00:00
|
|
|
-/*
|
|
|
|
- * exported plugin catalog entry
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
-static const uint32_t supported_types[] = { BUF_VIDEO_RV30,
|
|
|
|
- BUF_VIDEO_RV40,
|
|
|
|
- 0 };
|
|
|
|
-
|
2020-06-05 15:04:25 +00:00
|
|
|
-const decoder_info_t dec_info_realvideo = {
|
|
|
|
- supported_types, /* supported types */
|
|
|
|
- 7 /* priority */
|
|
|
|
-};
|