From 76a50eaab103f47d2890a593eb23e5de77bca827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 7 Jun 2008 12:46:07 +0000 Subject: [PATCH] * Fixed typo in "pretty name". * Improved debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25843 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/media/plugins/xvid_decoder/XvidDecoder.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/add-ons/media/plugins/xvid_decoder/XvidDecoder.cpp b/src/add-ons/media/plugins/xvid_decoder/XvidDecoder.cpp index f77f139e18..3e269415b6 100644 --- a/src/add-ons/media/plugins/xvid_decoder/XvidDecoder.cpp +++ b/src/add-ons/media/plugins/xvid_decoder/XvidDecoder.cpp @@ -188,7 +188,7 @@ XvidDecoder::GetCodecInfo(media_codec_info* mci) return;// B_NO_INIT; sprintf(mci->short_name, "xvid"); - sprintf(mci->pretty_name, "xvid - %s)", + sprintf(mci->pretty_name, "xvid - %s", gCodecTable[fIndexInCodecTable].prettyName); mci->id = 0; @@ -208,7 +208,7 @@ XvidDecoder::Setup(media_format* inputFormat, const void* inInfo, if (inputFormat->type != B_MEDIA_ENCODED_VIDEO) return B_BAD_VALUE; -// PRINT(("%p->XvidDecoder::Sniff()\n", this)); +// PRINT(("%p->XvidDecoder::Setup()\n", this)); //#if DEBUG // char buffer[1024]; @@ -229,7 +229,7 @@ XvidDecoder::Setup(media_format* inputFormat, const void* inInfo, // && !memcmp(inputFormat->user_data, "AVI ", 4)) { // codecID = ((uint32*)inputFormat->user_data)[1]; // familyID = B_AVI_FORMAT_FAMILY; -// PRINT(("XvidDecoder::Sniff() - AVI 4CC: %4s\n", +// PRINT(("XvidDecoder::Setup() - AVI 4CC: %4s\n", // inputFormat->user_data + 4)); // } @@ -253,7 +253,7 @@ XvidDecoder::Setup(media_format* inputFormat, const void* inInfo, #if PRINT_FOURCC uint32 bigEndianID = B_HOST_TO_BENDIAN_INT32(codecID); - printf("%p->XvidDecoder::Sniff() - AVI 4CC: %.4s\n", this, + printf("%p->XvidDecoder::Setup() - AVI 4CC: %.4s\n", this, (const char*)&bigEndianID); #endif } else if (formats.GetCodeFor(*inputFormat, B_MPEG_FORMAT_FAMILY,