macosx: fix resume playback guards, do not resume for folder urls
Folder URLs are likely DVD or bluray folders, which cannot be resumed
properly. Also fixes memleak, and unify guards. Do not save position
for input items which we do not resume afterwards anyway.
(cherry picked from commit b2525ebf7c3658d72963def5d9ac5b7627ac3b4c)
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Showing
Please register or sign in to comment