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:
alex 2003-03-21 16:32:53 +00:00
parent 57bd498e1b
commit 214d90e431
1 changed files with 4 additions and 0 deletions

View File

@ -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; }