mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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.
This commit is contained in:
parent
81b555838a
commit
0a20954769
1 changed files with 0 additions and 4 deletions
|
@ -981,8 +981,6 @@ gst_opus_enc_get_property (GObject * object, guint prop_id, GValue * value,
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case PROP_AUDIO:
|
case PROP_AUDIO:
|
||||||
g_warning
|
|
||||||
("opusenc's audio property is obsolete, use audio-type instead");
|
|
||||||
g_value_set_boolean (value,
|
g_value_set_boolean (value,
|
||||||
enc->audio_type == OPUS_APPLICATION_AUDIO ? TRUE : FALSE);
|
enc->audio_type == OPUS_APPLICATION_AUDIO ? TRUE : FALSE);
|
||||||
break;
|
break;
|
||||||
|
@ -1046,8 +1044,6 @@ gst_opus_enc_set_property (GObject * object, guint prop_id,
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case PROP_AUDIO:
|
case PROP_AUDIO:
|
||||||
g_warning
|
|
||||||
("opusenc's audio property is obsolete, use audio-type instead");
|
|
||||||
enc->audio_type =
|
enc->audio_type =
|
||||||
g_value_get_boolean (value) ? OPUS_APPLICATION_AUDIO :
|
g_value_get_boolean (value) ? OPUS_APPLICATION_AUDIO :
|
||||||
OPUS_APPLICATION_VOIP;
|
OPUS_APPLICATION_VOIP;
|
||||||
|
|
Loading…
Reference in a new issue