This still existed in Gotham Beta 1, and still exists in Gotham Beta 2. I've noticed something different when I was checking it out this time. I have a DVD with a few test images on it that I tried this time. I did not test with a DVD before, only with files such as H.264/mkv videos. DVD playback does not seem to be affected by this bug. It only seems to happen when I'm playing back a file.
Today I noticed beta 2 was released, and I completely missed that beta 1 was released. I did, however, test with both beta 1 and 2 today and both still show the same problem that the earlier daily builds showed. Today I even dragged over the laptop and colorimeter to get some numbers for how bright the blacks are showing with Gotham versus Frodo.
Frodo: 0.018 fL
Gotham 0.383 fL
I even took a little video to do a demo of it.
http://www.youtube.com/watch?v=KynVEW3BtRw
That was with a 720p mkv of the first episode of Homeland, which shows a black brackground with white text in the middle. But as I say, with a DVD source instead, the measurements for Frodo and Gotham match each other with both showing practically the same number for the same black test image. I'm wondering if the debug logs contain enough/relevant information to show why there is a difference between Frodo and Gotham. Is it worth running the same tests again with each version to get the logs? I certainly don't mind if you want them.
Another thing I noticed is there definitely seems to be something triggering a switch to the limited colour range once playback begins. This is a TV show that happens to be 24 fps, and I have XBMC set to pause for a short amount of time to wait for the TV to finish switching refresh rates. Usually I have that set to wait 2.0 seconds before playback begins, but if I set it to something longer like 5 or 6 seconds then I can tell that it is only once playback starts that the switch to limited colour range seems to happen.
If I set it to 5.0 seconds just to test, once the TV has finished switching modes the picture does indeed look just as black/dark as it usually does with Frodo, but once that delay is finished and the actual video playback begins it immediately goes grey instead of black. That leads me to believe that the limited colour range option is turning on at the moment playback begins, even though that option is turned off in the settings.
I am only pointing that out to show that the switch to limited colour range happens when playback begins. I do not think it is related to refresh rates or framerate, as when I play some files that do not cause a refresh rate change, such as some 30fps TV shows, the same problem still exists. The 24 fps / 24 Hz change with that show just allows us to extend that pause/delay feature to see that the black remains normal during the selected pause period, but once playback begins the black turns grey.