mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 20:32:33 +00:00
Fixed some missing default values in the Matroska reader (e.g. mono audio files). Reported by Liisachan.
This commit is contained in:
parent
47687acaa0
commit
2d3d0c8efe
@ -1,3 +1,8 @@
|
|||||||
|
2003-08-27 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
|
* mkvmerge: Fixed some missing default values in the Matroska
|
||||||
|
reader (e.g. mono audio files). Reported by Liisachan.
|
||||||
|
|
||||||
2003-08-25 Moritz Bunkus <moritz@bunkus.org>
|
2003-08-25 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
* mkvmerge: Improved all command line parsing error messages.
|
* mkvmerge: Improved all command line parsing error messages.
|
||||||
|
@ -405,19 +405,11 @@ void kax_reader_c::verify_tracks() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t->a_sfreq == 0.0) {
|
if (t->a_sfreq == 0.0)
|
||||||
if (verbose)
|
t->a_sfreq = 8000.0;
|
||||||
mxwarn("matroska_reader: The sampling frequency was not "
|
|
||||||
"set for track %u.\n", t->tnum);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (t->a_channels == 0) {
|
if (t->a_channels == 0)
|
||||||
if (verbose)
|
t->a_channels = 1;
|
||||||
mxwarn("matroska_reader: The number of channels was not "
|
|
||||||
"set for track %u.\n", t->tnum);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (t->a_formattag == 0) {
|
if (t->a_formattag == 0) {
|
||||||
if (verbose)
|
if (verbose)
|
||||||
|
Loading…
Reference in New Issue
Block a user