summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2004-04-20 13:57:25 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2004-04-20 13:57:25 +0000
commit62a662f5eecaf1d6f1130c77f8521c77ed0a1f50 (patch)
tree9ff0a24de81dd157c476b9ef1abe0323894ce1de
parent486308e29cf52fe6137adaab800874e3b6da0b4f (diff)
downloadxine-lib-62a662f5eecaf1d6f1130c77f8521c77ed0a1f50.tar.gz
xine-lib-62a662f5eecaf1d6f1130c77f8521c77ed0a1f50.tar.bz2
Disable AUD content detection, there exists a subtitle file in the wild with positive AUD detection. :-)
This was the first line in the file: {105}{266}{c:$0022FF}Translated by S.C.U.D - Subtitle Creators UniteD... ^ ^^ VQA_IMA stream type rate = 12667 HZ CVS patchset: 6417 CVS date: 2004/04/20 13:57:25
-rw-r--r--ChangeLog1
-rw-r--r--src/demuxers/demux_aud.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c8511bc7a..3db04cdbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -25,6 +25,7 @@ xine-lib (1-rc4)
* video_out_pgx64 now disables overlay when fully occluded, fixed displaying
some frames out of order when multi-buffering.
* DXR3: option to use Pan & Scan information embedded in MPEG and DVB streams
+ * disable AUD content detection because of false positives
xine-lib (1-rc3c)
* fix the deadlock with non-seekable input plugins
diff --git a/src/demuxers/demux_aud.c b/src/demuxers/demux_aud.c
index 84c301513..fd132a3d1 100644
--- a/src/demuxers/demux_aud.c
+++ b/src/demuxers/demux_aud.c
@@ -34,7 +34,7 @@
* data. This makes seeking conceptually impossible. Upshot: Random
* seeking is not supported.
*
- * $Id: demux_aud.c,v 1.17 2004/02/02 00:33:18 tmmm Exp $
+ * $Id: demux_aud.c,v 1.18 2004/04/20 13:57:26 valtri Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -290,6 +290,7 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str
switch (stream->content_detection_method) {
+ case METHOD_BY_CONTENT: /* no reliable detection */
case METHOD_BY_EXTENSION: {
char *extensions, *mrl;
@@ -303,7 +304,6 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str
}
/* falling through is intended */
- case METHOD_BY_CONTENT:
case METHOD_EXPLICIT:
if (!open_aud_file(this)) {