We currently use %U as argument to the Exec entry to indicate that gmplayer
handles URLs. However, gmplayer fails to open files with spaces in the
filename when launched from a file manager in this way. Changing %U to %F
works around this issue successfully while still working with URLs.
While this may not be a completely satisfactory solution, it is already
deployed in distributions and a better solution is unlikely to appear.
patch by Andrew Strong, andrew.david.45 gmail com

Remove #include of "mp_core.h" and "input/input.h". Their only use was
that functions declared in command.h took pointers to structs defined
in those headers. Declare the structs directly as incomplete types
instead.