mirror of https://github.com/mpv-player/mpv
no longer required to call preinit from init and query_format, mplayer.c does this
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4360 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1ff5f05415
commit
07f21b3ec5
|
@ -321,7 +321,7 @@ static uint32_t preinit(const char *arg)
|
|||
// printf("No YUY2 %i\n",no_yuy2);
|
||||
// }
|
||||
preinit_done=1;
|
||||
return 1;
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
|
@ -357,7 +357,7 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width,
|
|||
}
|
||||
|
||||
|
||||
if (!preinit(NULL)) return 1;
|
||||
// if (!preinit(NULL)) return 1;
|
||||
|
||||
|
||||
if (vm) {
|
||||
|
@ -598,7 +598,7 @@ static uint32_t query_format(uint32_t format)
|
|||
{
|
||||
int ret = 0x4; /* osd/sub is supported on every bpp */
|
||||
|
||||
preinit(NULL);
|
||||
// preinit(NULL);
|
||||
|
||||
// printf("Format query: %s\n",vo_format_name(format));
|
||||
switch (format) {
|
||||
|
|
Loading…
Reference in New Issue