mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
Add a (more or less dummy) reference to vo_format_name(), to pull the
img_format.o object from libvo.a on solaris. The typical set of libvo video drivers on solaris didn't reference this symbol, but a library at the end of the link command for mplayer requires this function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5164 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a599300f4f
commit
f08bc385fe
@ -553,6 +553,8 @@ static uint32_t get_image(mp_image_t *mpi)
|
||||
|
||||
static uint32_t query_format( uint32_t format )
|
||||
{
|
||||
if(verbose > 2)
|
||||
printf("vo_x11: query_format was called: %x (%s)\n",format,vo_format_name(format));
|
||||
if (IMGFMT_IS_BGR(format))
|
||||
{
|
||||
if (IMGFMT_BGR_DEPTH(format) == vo_depthonscreen)
|
||||
|
Loading…
Reference in New Issue
Block a user