[Haiku-commits] r28142 - haiku/trunk/src/add-ons/media/plugins/matroska
stippi at BerliOS
stippi at mail.berlios.de
Wed Oct 15 17:40:27 CEST 2008
Author: stippi
Date: 2008-10-15 17:40:27 +0200 (Wed, 15 Oct 2008)
New Revision: 28142
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=28142&view=rev
Modified:
haiku/trunk/src/add-ons/media/plugins/matroska/matroska_codecs.cpp
Log:
* 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...)
Modified: haiku/trunk/src/add-ons/media/plugins/matroska/matroska_codecs.cpp
===================================================================
--- haiku/trunk/src/add-ons/media/plugins/matroska/matroska_codecs.cpp 2008-10-15 15:38:34 UTC (rev 28141)
+++ haiku/trunk/src/add-ons/media/plugins/matroska/matroska_codecs.cpp 2008-10-15 15:40:27 UTC (rev 28142)
@@ -163,6 +163,7 @@
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 @@
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;
}
More information about the Haiku-commits
mailing list