[ekiga] Improve my previous commit by logging an error if unnamed codec
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Improve my previous commit by logging an error if unnamed codec
- Date: Thu, 22 Dec 2011 17:37:26 +0000 (UTC)
commit bfcc90f1b590e99b661978e2d98b69ea6df8d879
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Thu Dec 22 18:36:33 2011 +0100
Improve my previous commit by logging an error if unnamed codec
.../components/opal/opal-codec-description.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-codec-description.cpp b/lib/engine/components/opal/opal-codec-description.cpp
index 0e48771..9d994c0 100644
--- a/lib/engine/components/opal/opal-codec-description.cpp
+++ b/lib/engine/components/opal/opal-codec-description.cpp
@@ -58,6 +58,9 @@ CodecDescription::CodecDescription (OpalMediaFormat & format)
// (it is the case for MS-IMA-ADPCM for ex.)
if (name.empty())
name = (const char *) format.GetName ();
+ if (name.empty()) {
+ PTRACE (1, "OpalCodecDescription\tError: found unnamed codec, it will not be used");
+ }
if (name == "G722") // G722 has the wrong rate in RFC
rate = 16000;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]