[MPlayer-dev-eng] [PATCH] libmplayer
bryanwilkerson at yahoo.com
Fri Jun 17 16:09:24 CEST 2005
As discussed in an earlier thread, attached is a patch
that provides a shared library interface for mplayer.
Configure, make and install have all been updated to
build the lib and install it. Currently only
supported on *nix systems and only tested on Linux.
- need an error callback. Need some way to notify the
application that an error occurred during play back
since that functionality is almost entirely
- need to port to windows
- need a way to control more of the playback variables
supported from mplayer exe
- Code in libmplayer.c is largely the same as
mplayer.c Recommend updating mplayer exe to use
libmplayer after the above issues are resolved.
- Would be nice: a static library build in addition to
the shared library
A sample application using the library interface can
be found here:
If you are unable/unwilling to run KDE apps, no big
deal, all of the libmplayer interfacing code is in
src/mainwidgetimpl.cpp. It is easy to understand.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 81096 bytes
More information about the MPlayer-dev-eng