diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-07-06 13:15:27 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-07-06 13:15:27 +0100 |
commit | 8e2af9017ec20eddb4999ddd31f49d3234051ced (patch) | |
tree | 205d8fe4fcc0d8713132a699019a38a949bfa4c6 /gst/asfmux/gstasfmux.c | |
parent | ae66157cd6e04356bf8361badf666badc1e0d8d8 (diff) | |
download | gstreamer-plugins-bad-8e2af9017ec20eddb4999ddd31f49d3234051ced.tar.gz |
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.
Diffstat (limited to 'gst/asfmux/gstasfmux.c')
-rw-r--r-- | gst/asfmux/gstasfmux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/asfmux/gstasfmux.c b/gst/asfmux/gstasfmux.c index 4657a8b0d..920720f8d 100644 --- a/gst/asfmux/gstasfmux.c +++ b/gst/asfmux/gstasfmux.c @@ -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: |