diff options
author | 2002-01-26 18:35:29 +0000 | |
---|---|---|
committer | 2002-01-26 18:35:29 +0000 | |
commit | 07f21b3ec5109ffd5ccf1d7698b65ddc14488fc6 (patch) | |
tree | 174e456bc4ffd2d3e64134c9f7b763cb34d32493 /libvo/vo_directfb.c | |
parent | 1ff5f054150fbbac520625039bb55db88961d7cd (diff) |
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
Diffstat (limited to 'libvo/vo_directfb.c')
-rw-r--r-- | libvo/vo_directfb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_directfb.c b/libvo/vo_directfb.c index 618e34e0b2..6e0fe1bf91 100644 --- a/libvo/vo_directfb.c +++ b/libvo/vo_directfb.c @@ -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) { |