MediaPlayer: VideoConsumer now prints bounds when buffer can't be allocated.

This commit is contained in:
Jérôme Duval
2012-03-17 21:57:57 +01:00
parent 93e180d06b
commit 64b0784e6c
@@ -248,7 +248,8 @@ VideoConsumer::CreateBuffers(const media_format& format)
fBufferMap[i] = buffer; fBufferMap[i] = buffer;
} else { } else {
ERROR("VideoConsumer::CreateBuffers - ERROR CREATING VIDEO RING " ERROR("VideoConsumer::CreateBuffers - ERROR CREATING VIDEO RING "
"BUFFER (%ld): %s\n", i, strerror(status)); "BUFFER (Index %ld Width %ld Height %ld Colorspace %d: %s\n",
i, width, height, colorSpace, strerror(status));
return status; return status;
} }
} }