From 008eae43da364c9a910416652cf277c4ef5895c9 Mon Sep 17 00:00:00 2001
From: Darrell Anderson <humanreadable@yahoo.com>
Date: Fri, 13 Apr 2012 01:04:19 -0500
Subject: Fix inadvertent "TQ" changes.

---
 kopete/protocols/msn/webcam/libmimic/mimic-private.h | 6 +++---
 kopete/protocols/msn/webcam/libmimic/mimic.c         | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

(limited to 'kopete/protocols/msn')

diff --git a/kopete/protocols/msn/webcam/libmimic/mimic-private.h b/kopete/protocols/msn/webcam/libmimic/mimic-private.h
index 245793fb..adf59291 100644
--- a/kopete/protocols/msn/webcam/libmimic/mimic-private.h
+++ b/kopete/protocols/msn/webcam/libmimic/mimic-private.h
@@ -21,9 +21,9 @@
 #include "mimic.h"
 
 #define ENCODER_BUFFER_SIZE         16384
-#define ENCODER_TQUALITY_DEFAULT     0
-#define ENCODER_TQUALITY_MIN         0
-#define ENCODER_TQUALITY_MAX         10000
+#define ENCODER_QUALITY_DEFAULT     0
+#define ENCODER_QUALITY_MIN         0
+#define ENCODER_QUALITY_MAX         10000
 
 struct _MimCtx {
     gboolean encoder_initialized;
diff --git a/kopete/protocols/msn/webcam/libmimic/mimic.c b/kopete/protocols/msn/webcam/libmimic/mimic.c
index 2013022d..61abf9e8 100644
--- a/kopete/protocols/msn/webcam/libmimic/mimic.c
+++ b/kopete/protocols/msn/webcam/libmimic/mimic.c
@@ -155,7 +155,7 @@ gboolean mimic_encoder_init(MimCtx *ctx, const MimicResEnum resolution)
     mimic_init(ctx, width, height);
 
     /* Set a default quality setting. */
-    ctx->quality = ENCODER_TQUALITY_DEFAULT;
+    ctx->quality = ENCODER_QUALITY_DEFAULT;
 
     ctx->encoder_initialized = TRUE;
     
@@ -300,8 +300,8 @@ gboolean mimic_set_property(MimCtx *ctx, const gchar *name, gpointer data)
         if (strcmp(name, "quality") == 0) {
             gint new_quality = *((gint *) data);
 
-            if (new_quality < ENCODER_TQUALITY_MIN ||
-                new_quality > ENCODER_TQUALITY_MAX)
+            if (new_quality < ENCODER_QUALITY_MIN ||
+                new_quality > ENCODER_QUALITY_MAX)
             {
                 return FALSE;
             }
-- 
cgit v1.2.3