disable MOD per default

This commit is contained in:
Mathias Panzenböck 2012-12-29 07:53:46 +01:00
parent e0787b6ab8
commit 5642c0c106
2 changed files with 12 additions and 6 deletions

View File

@ -35,7 +35,7 @@ using the `--min-size` one can hopefully extract only real MPEG files.
-f, --formats=FORMATS Comma separated list of formats (file magics) to extract.
Supported formats:
all all supported formats
default the default set of formats (AIFF, ID3v2, Ogg, RIFF, MIDI, MOD)
default the default set of formats (AIFF, ID3v2, Ogg, RIFF, MIDI, S3M, IT)
aiff big-endian (Apple) wave files
id3v2 MPEG files with ID3v2 tags at the start
it ImpulseTracker files
@ -44,7 +44,7 @@ using the `--min-size` one can hopefully extract only real MPEG files.
mpeg any MPEG files (e.g. MP3)
ogg Ogg files (Vorbis, FLAC, Opus, Theora, etc.)
riff little-endian (Windows) wave files
s3m ScreamTracker files
s3m ScreamTracker III files
tracker all tracker files (MOD, S3M, IT)
wave both RIFF and AIFF wave files
@ -53,6 +53,9 @@ using the `--min-size` one can hopefully extract only real MPEG files.
MP3 files usually have an ID3v2 tag at the start, so using the
'id3v2' format is the better option anyway.
The detection accuracy of MOD files is not much better and thus
they are alos per default disabled.
NOTE: When using only the 'mpeg' format but not 'id3v2' any ID3v2
tag will be stripped. ID3v1 tags will still be kept.

View File

@ -37,8 +37,8 @@ enum fileformat {
};
#define ALL_FORMATS (OGG | RIFF | AIFF | MPEG | ID3v2 | MIDI | MOD | S3M | IT)
#define DEFAULT_FORMATS (OGG | RIFF | AIFF | ID3v2 | MIDI | MOD | S3M | IT)
#define TRACKER_FORMATS (MOD | S3M | IT)
#define DEFAULT_FORMATS (OGG | RIFF | AIFF | ID3v2 | MIDI | S3M | IT)
#define TRACKER_FORMATS (MOD | S3M | IT)
int usage(int argc, char **argv)
{
@ -55,7 +55,7 @@ int usage(int argc, char **argv)
" -f, --formats=FORMATS Comma separated list of formats (file magics) to extract.\n"
" Supported formats:\n"
" all all supported formats\n"
" default the default set of formats (AIFF, ID3v2, Ogg, RIFF, MIDI, MOD)\n"
" default the default set of formats (AIFF, ID3v2, Ogg, RIFF, MIDI, S3M, IT)\n"
" aiff big-endian (Apple) wave files\n"
" id3v2 MPEG files with ID3v2 tags at the start\n"
" it ImpulseTracker files\n"
@ -64,7 +64,7 @@ int usage(int argc, char **argv)
" mpeg any MPEG files (e.g. MP3)\n"
" ogg Ogg files (Vorbis, FLAC, Opus, Theora, etc.)\n"
" riff little-endian (Windows) wave files\n"
" s3m ScreamTracker files\n"
" s3m ScreamTracker III files\n"
" tracker all tracker files (MOD, S3M, IT)\n"
" wave both RIFF and AIFF wave files\n"
"\n"
@ -73,6 +73,9 @@ int usage(int argc, char **argv)
" MP3 files usually have an ID3v2 tag at the start, so using the\n"
" 'id3v2' format is the better option anyway.\n"
"\n"
" The detection accuracy of MOD files is not much better and thus\n"
" they are alos per default disabled.\n"
"\n"
" NOTE: When using only the 'mpeg' format but not 'id3v2' any ID3v2\n"
" tag will be stripped. ID3v1 tags will still be kept.\n"
"\n"