core: remove bad workaround for files without FPS set
commit9fe2fa599b0a8e9e1468b53ed025b76b55639af5
authorUoti Urpala <uau@mplayer2.org>
Wed, 24 Aug 2011 23:45:13 +0000 (25 02:45 +0300)
committerUoti Urpala <uau@mplayer2.org>
Wed, 24 Aug 2011 23:45:13 +0000 (25 02:45 +0300)
treed3378ed0cd3a48d68428f6ec1f2dee01f9a9ade6
parent8cc5ba5ab8a045a3e3ffaa8a040d815148caa6c9
core: remove bad workaround for files without FPS set

Commit dde8b753e4 merged an mplayer1 change (r31328) that set
correct_pts to true if FPS was not set (on the assumption that
correct-pts mode could provide proper timing without FPS). As the
merge commit noted this change was somewhat questionable, as the
option shouldn't really change after things have already been
initialized. After recent changes it can cause an outright crash
(assert in ds_get_packet2() from 9c7c4e5b7d fails). Remove the hack.
Also only print a warning about not having FPS if correct_pts is not
set (in correct_pts mode not having FPS shouldn't be a real problem,
as everything is based on timestamps anyway).
mplayer.c