asfmux: only use g_warning() when setting the old is-live property, not when reading it

Don't want warnings in e.g. gst-inspect.
This commit is contained in:
Tim-Philipp Müller 2010-07-06 13:15:27 +01:00
parent ae66157cd6
commit 8e2af9017e

View file

@ -2325,7 +2325,8 @@ gst_asf_mux_get_property (GObject * object,
g_value_set_uint64 (value, asfmux->prop_padding);
break;
case PROP_IS_LIVE:
g_warning ("This property is deprecated, use 'streamable' instead");
GST_WARNING_OBJECT (object, "The 'is-live' property is deprecated, use "
"the 'streamable' property instead");
g_value_set_boolean (value, asfmux->prop_streamable);
break;
case PROP_STREAMABLE: