summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2009-08-25 10:40:13 +0000
committerphintuka <phintuka>2009-08-25 10:40:13 +0000
commitc21400774a972b2ee1ff8855213dac1e0598f36c (patch)
treed84372dcc48327bcc98a380757aca87ecdd1c846
parent6fde0cbcb12418e5a469344e5f51b993f20b3878 (diff)
downloadxineliboutput-c21400774a972b2ee1ff8855213dac1e0598f36c.tar.gz
xineliboutput-c21400774a972b2ee1ff8855213dac1e0598f36c.tar.bz2
Changed identity.
Dropped priority. Define BUF_SPU_HDMV.
-rw-r--r--xine/BluRay/demux_ts.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/xine/BluRay/demux_ts.c b/xine/BluRay/demux_ts.c
index 4aa3141d..2a9089bd 100644
--- a/xine/BluRay/demux_ts.c
+++ b/xine/BluRay/demux_ts.c
@@ -151,6 +151,13 @@
#include <xine/xineutils.h>
#include <xine/demux.h>
+//#define TS_PMT_LOG
+//#define TS_PAT_LOG
+
+#ifndef BUF_SPU_HDMV
+# define BUF_SPU_HDMV 0x04180000
+#endif
+
/*
#define TS_LOG
#define TS_PMT_LOG
@@ -2316,11 +2323,11 @@ static const char *get_description (demux_class_t *this_gen) {
}
static const char *get_identifier (demux_class_t *this_gen) {
- return "MPEG_TS";
+ return "MPEG_TS_HDMV";
}
static const char *get_extensions (demux_class_t *this_gen) {
- return "ts m2t trp";
+ return "m2ts mts";
}
static const char *get_mimetypes (demux_class_t *this_gen) {
@@ -2357,12 +2364,12 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
static const demuxer_info_t demux_info_ts = {
- 10 /* priority */
+ 5 /* priority */
};
const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
- { PLUGIN_DEMUX, 26, "mpeg-ts", XINE_VERSION_CODE, &demux_info_ts, init_class },
+ { PLUGIN_DEMUX, 26, "mpeg-ts-hdmv", XINE_VERSION_CODE, &demux_info_ts, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};