* Add some more tracing.

* Add the case where H.264 info needs to be extracted.
(Had this laying on my hard drive for a while, hope you have not worked
on it again, David...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28142 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-10-15 15:40:27 +00:00
parent 699e7d89e4
commit d90ca97492
@@ -163,6 +163,7 @@ GetVideoFormat(media_format *format, const char *codec, void *private_data, int
if (IS_CODEC(codec, "V_MS/VFW/FOURCC")) {
if (private_size < (int)sizeof(bitmap_info_header)) {
TRACE("private_size too small!\n");
return B_ERROR;
}
const bitmap_info_header *bih = (const bitmap_info_header *)private_data;
@@ -177,6 +178,11 @@ GetVideoFormat(media_format *format, const char *codec, void *private_data, int
return B_OK;
}
if (IS_CODEC(codec, "V_MPEG4/ISO/AVC")) {
printf("TODO: MPEG4/AVC a.k.a h264\n");
return B_ERROR;
}
TRACE("not a codec!\n");
return B_ERROR;
}