mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +00:00
multiple preinit support -- cleaning vidix_name between the multiple preinits. Patch by Aurlien JACOBS <aurel@gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9633 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
57bd498e1b
commit
214d90e431
@ -436,6 +436,10 @@ static uint32_t parseSubDevice(const char *sd)
|
||||
{
|
||||
uint32_t flags;
|
||||
flags = 0;
|
||||
lvo_name = NULL;
|
||||
#ifdef CONFIG_VIDIX
|
||||
vidix_name = NULL;
|
||||
#endif
|
||||
if(strcmp(sd,"nodga") == 0) { flags |= SUBDEV_NODGA; flags &= ~(SUBDEV_FORCEDGA); }
|
||||
else
|
||||
if(strcmp(sd,"dga") == 0) { flags &= ~(SUBDEV_NODGA); flags |= SUBDEV_FORCEDGA; }
|
||||
|
Loading…
Reference in New Issue
Block a user