* print the codec id a little later when tracing is on, when the id is better

knwon


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22928 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2007-11-14 18:08:15 +00:00
parent ca73cdd62f
commit d3625d72ed

View File

@ -124,10 +124,6 @@ avCodec::Setup(media_format *ioEncodedFormat, const void *infoBuffer, size_t inf
if (BMediaFormats().GetCodeFor(*ioEncodedFormat, gCodecTable[i].family, &descr) == B_OK
&& gCodecTable[i].type == ioEncodedFormat->type)
{
PRINT((" codec id = \"%c%c%c%c\"\n", (descr.u.avi.codec >> 24) & 0xff,
(descr.u.avi.codec >> 16) & 0xff,
(descr.u.avi.codec >> 8) & 0xff,
descr.u.avi.codec & 0xff));
switch(gCodecTable[i].family) {
case B_WAV_FORMAT_FAMILY:
cid = descr.u.wav.codec;
@ -151,6 +147,9 @@ avCodec::Setup(media_format *ioEncodedFormat, const void *infoBuffer, size_t inf
puts("ERR family");
return B_ERROR;
}
PRINT((" codec id = \"%c%c%c%c\"\n", (cid >> 24) & 0xff,
(cid >> 16) & 0xff, (cid >> 8) & 0xff, cid & 0xff));
if (gCodecTable[i].family == descr.family && gCodecTable[i].fourcc == cid) {
fCodec = avcodec_find_decoder(gCodecTable[i].id);
if (!fCodec) {