summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/webcam/libmimic
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-13 01:04:19 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-13 01:04:19 -0500
commit008eae43da364c9a910416652cf277c4ef5895c9 (patch)
tree5f9060ce2395120f3ce327d444b035a6ece978a4 /kopete/protocols/msn/webcam/libmimic
parent2bc02dc6e21b9f38a76c6733a0931c7ebc944547 (diff)
downloadtdenetwork-008eae43da364c9a910416652cf277c4ef5895c9.tar.gz
tdenetwork-008eae43da364c9a910416652cf277c4ef5895c9.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'kopete/protocols/msn/webcam/libmimic')
-rw-r--r--kopete/protocols/msn/webcam/libmimic/mimic-private.h6
-rw-r--r--kopete/protocols/msn/webcam/libmimic/mimic.c6
2 files changed, 6 insertions, 6 deletions
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;
}