Mercurial > mplayer.hg
comparison gui/interface.c @ 34068:c3b22e92a4ec
Don't needlessly set filename in GUI_PREPARE.
The filename has already been set (by uiSetFileName()).
For gui/win32/interface.c there is no need to set it
in guiPlaylistInitialize() either.
author | ib |
---|---|
date | Thu, 29 Sep 2011 13:52:19 +0000 |
parents | 1b60a54bbfb8 |
children | 5c505f79932d |
comparison
equal
deleted
inserted
replaced
34067:eb6344ee99ac | 34068:c3b22e92a4ec |
---|---|
425 | 425 |
426 break; | 426 break; |
427 #endif | 427 #endif |
428 } | 428 } |
429 | 429 |
430 // if ( guiInfo.StreamType != STREAMTYPE_PLAYLIST ) // Does not make problems anymore! | |
431 { | |
432 if (guiInfo.Filename) | |
433 filename = gstrdup(guiInfo.Filename); | |
434 else if (filename) | |
435 setdup(&guiInfo.Filename, filename); | |
436 } | |
437 | |
438 // video opts | 430 // video opts |
439 | 431 |
440 if (!video_driver_list) { | 432 if (!video_driver_list) { |
441 int i = 0; | 433 int i = 0; |
442 | 434 |