CGUITextureManager weirdness

Discussion of XBMC4XBOX development.
Post Reply
Smiff
Posts: 125
Joined: Mon Sep 10, 2012 10:39 pm
Has thanked: 5 times
Been thanked: 2 times

CGUITextureManager weirdness

Post by Smiff »

ok this might be really minor but noticed this when scanning log after a crash

Code: Select all

11:24:17 M: 22253568  NOTICE: -->Python Initialized<--
11:24:20 M: 24616960 WARNING: CGUITextureManager::Load - Texture file Q:\plugins\video\TVCatchup\icon.png (1143316480 x 14088913) is too big! Reloading resized
11:24:20 M: 24596480   ERROR: CGUITextureManager::Load - Texture manager unable to load file: Q:\plugins\video\TVCatchup\icon.png

there is no icon.png in there.


similarly

Code: Select all

11:20:55 M: 45936640  NOTICE: load default skin:[xTV-SAF_v111]
11:20:57 M: 40222720  NOTICE: initialize done
11:20:57 M: 40202240  NOTICE: Running the application...
11:20:58 M: 35168256 WARNING: CGUITextureManager::Load - Texture file special://temp/weather/128x128/na.png (4158639 x 9658247) is too big! Reloading resized
11:20:58 M: 35147776   ERROR: CGUITextureManager::Load - Texture manager unable to load file: special://temp/weather/128x128/na.png
11:20:59 M: 34140160  NOTICE: start timeserver client

b31600
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: CGUITextureManager weirdness

Post by Dan Dar3 »

It's probably coming from this:
http://redmine.exotica.org.uk/projects/ ... anager.cpp

CGUITextureManager::Load() - might be cause the info is not initialized (zeroed) and if D3DXCreateTextureFromFileEx() failed, it goes on about logging the problem with whatever values info structure holds, and it checks the result later at the end.
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: CGUITextureManager weirdness

Post by BuZz »

thanks dan - When I saw those large X x Y My first thought was a failure in uninitialised variables. However despite being broken/wrong this shouldn't cause any major issue other than the log etc.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: CGUITextureManager weirdness

Post by Dan Dar3 »

@Buzz
Yes, you're right, it's not causing a problem, just incorrectly logging that.
Post Reply