comparison cfg-mplayer.h @ 18917:d9a75b26da6c

Add a new video pts tracking mode, enabled by option -correct-pts. This mode has the following differences: - Video timing is correct for streams with B frames, at least with some demuxers. - Video filters can modify frame timestamps and insert new frames, and removing frames is handled better than before. - Some things are known to break, it's not usable as the default yet. Things should work as before when the -correct-pts option is not used.
author uau
date Thu, 06 Jul 2006 06:58:17 +0000
parents 3b5b7e78b9af
children a2f20562aac3
comparison
equal deleted inserted replaced
18916:a95ed361d16b 18917:d9a75b26da6c
347 {"noloop", &loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL}, 347 {"noloop", &loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL},
348 {"loop", &loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000, NULL}, 348 {"loop", &loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000, NULL},
349 {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL}, 349 {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
350 350
351 // a-v sync stuff: 351 // a-v sync stuff:
352 {"correct-pts", &correct_pts, CONF_TYPE_FLAG, 0, 0, 1, NULL},
353 {"no-correct-pts", &correct_pts, CONF_TYPE_FLAG, 0, 1, 0, NULL},
352 {"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL}, 354 {"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL},
353 {"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL}, 355 {"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL},
354 // {"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL}, 356 // {"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
355 // {"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL}, 357 // {"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
356 358