summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-02-18 17:41:25 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-02-18 17:47:50 +0200
commitdb20b21a514162e63324aefa24eb386004fc79b3 (patch)
treea0ff00beb72116fa6b281e053ee58bf9ca14e180
parent111c831c08b9a68379f30f1600eea463405c301f (diff)
downloadgstreamer-plugins-base-db20b21a514162e63324aefa24eb386004fc79b3.tar.gz
opusenc: Remove g_warnings() for the deprecated audio property
Otherwise there are g_warnings() already when just using gst-inspect or dumping a pipeline graph.
-rw-r--r--ext/opus/gstopusenc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/opus/gstopusenc.c b/ext/opus/gstopusenc.c
index 3413a095f..603fad870 100644
--- a/ext/opus/gstopusenc.c
+++ b/ext/opus/gstopusenc.c
@@ -981,8 +981,6 @@ gst_opus_enc_get_property (GObject * object, guint prop_id, GValue * value,
switch (prop_id) {
case PROP_AUDIO:
- g_warning
- ("opusenc's audio property is obsolete, use audio-type instead");
g_value_set_boolean (value,
enc->audio_type == OPUS_APPLICATION_AUDIO ? TRUE : FALSE);
break;
@@ -1046,8 +1044,6 @@ gst_opus_enc_set_property (GObject * object, guint prop_id,
switch (prop_id) {
case PROP_AUDIO:
- g_warning
- ("opusenc's audio property is obsolete, use audio-type instead");
enc->audio_type =
g_value_get_boolean (value) ? OPUS_APPLICATION_AUDIO :
OPUS_APPLICATION_VOIP;