Fix compilation after the separation of hpeldsp.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35959 b3059339-0415-0410-9bf9-f77b7e298cf2
Revert r35955, the resampling API in lavc is still available.


git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35960 b3059339-0415-0410-9bf9-f77b7e298cf2
Add support for binding any key in UTF-8 range.

X11 part is a bit hackish since we need to use
setlocale to get desired behaviour for XLookupString.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35961 b3059339-0415-0410-9bf9-f77b7e298cf2
Win32: support file names with characters outside system code-page

This is done by trying to interpret the file name as being UTF-8 encoded
first.
The command-line is fetched as UTF-16 and converted to UTF-8
to match with this.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35962 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix mencoder compilation

While at it, also support codec-specific options in -lavcopts

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35963 b3059339-0415-0410-9bf9-f77b7e298cf2
Free memory allocated for fsHistory[] elements when GUI ends.


git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35964 b3059339-0415-0410-9bf9-f77b7e298cf2
Add a function converting into locale encoding.

This is for compatibility reasons, because the content of the history
file will change from UTF-8 encoded filenames to filenames in their
original byte sequence.

(The cfg-old.c file is meant to save the user the effort of manually
changing any settings or options that have become obsolete. The file
will be subject to removal some day. It will be included where
necessary.)


git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35965 b3059339-0415-0410-9bf9-f77b7e298cf2
Utilize new cfg_old_filename_from_utf8() in playlist code.

Use it instead of g_filename_from_utf8(), because the content of the
history file will change from UTF-8 encoded filenames to filenames in
their original byte sequence.


git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35966 b3059339-0415-0410-9bf9-f77b7e298cf2
Add a warning message about @locale in G_FILENAME_ENCODING.

Inform that setting G_BROKEN_FILENAMES or @locale in G_FILENAME_ENCODING
(which has the same meaning, but takes priority) isn't supported.
That is because of the gtk_disable_setlocale() call without which
MPlayer might break.


git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35967 b3059339-0415-0410-9bf9-f77b7e298cf2
Revise MSGTR_LOCALE_ENCODING.


git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35968 b3059339-0415-0410-9bf9-f77b7e298cf2
Synced with help_mp-en.h rev. 35968



git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35969 b3059339-0415-0410-9bf9-f77b7e298cf2
sync with en/mplayer.1 rev. 35963



git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35970 b3059339-0415-0410-9bf9-f77b7e298cf2
Clean up ifdefs so they make sense even if none or multiple are defined.

Also choose Linux as fallback case instead of failing, this
allows the code to compile e.g. on Android.


git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35971 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove useless cast (at best it will break things).


git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35972 b3059339-0415-0410-9bf9-f77b7e298cf2
Change off_t to uint64_t.

Since we use PRIx64 in the sscanf, a 32-bit off_t would seriously
break things and using off_t simply has no advantage at all.


git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35973 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove misleading TRUE/FALSE

They do not behave as expected, a variable can be neither
TRUE nor FALSE.


git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35974 b3059339-0415-0410-9bf9-f77b7e298cf2
Replace some uses of off_t by uint64_t.

This allows code that does not rely on lseek etc. to work
even on systems that do not support 64 bit off_t yet.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35975 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove nonsense fprintf, probably left-over debug code.


git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35976 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix a potential integer overflow.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35977 b3059339-0415-0410-9bf9-f77b7e298cf2
Hacks to fix compilation on/for Android.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@35978 b3059339-0415-0410-9bf9-f77b7e298cf2