annotate cfg-mplayer-def.h @ 23572:a00685941686

demux_mkv very long seek fix The seek code searching for the closest position in the index used "int64_t min_diff=0xFFFFFFFL" as the initial "further from the goal than any real alternative" value. The unit is milliseconds so seeks more than about 75 hours past the end of the file would fail to recognize the last index position as the best match. This was triggered in practice by chapter seek code which apparently uses a seek of 1000000000 seconds forward to mean "seek to the end". The practical effect was that trying to seek to the next chapter in a file without chapters made MPlayer block until it finished reading the file from the current position to the end. Fixed by increasing the initial value from FFFFFFF to FFFFFFFFFFFFFFF.
author uau
date Wed, 20 Jun 2007 18:19:03 +0000
parents 8e55121885b2
children 1345f8cdfb00
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
151
9708d4b2765b cfgparser fix
szabii
parents:
diff changeset
1 static char* default_config=
153
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
2 "# Write your default config options here!\n"
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
3 "\n"
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
4 //"nosound=nem"
151
9708d4b2765b cfgparser fix
szabii
parents:
diff changeset
5 "\n";
9708d4b2765b cfgparser fix
szabii
parents:
diff changeset
6