summaryrefslogtreecommitdiff
path: root/gst/asfmux/gstasfmux.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-07-06 14:53:57 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-07-06 14:53:57 +0100
commit219e9ab1331d179f3052f33dc6b41604f712939f (patch)
treeb5b5b5bda98be99c42b69b2f468de2e8811e480c /gst/asfmux/gstasfmux.c
parent0fc94cd7b0e43c81765ab457fbcf8e9acbcb4f02 (diff)
downloadgstreamer-plugins-bad-219e9ab1331d179f3052f33dc6b41604f712939f.tar.gz
asfmux: remove deprecated "is-live" property
Use the "streamable" property instead.
Diffstat (limited to 'gst/asfmux/gstasfmux.c')
-rw-r--r--gst/asfmux/gstasfmux.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/gst/asfmux/gstasfmux.c b/gst/asfmux/gstasfmux.c
index c7d674397..6754f2928 100644
--- a/gst/asfmux/gstasfmux.c
+++ b/gst/asfmux/gstasfmux.c
@@ -45,7 +45,7 @@
*
* <title>Live streaming</title>
* asfmux and rtpasfpay are capable of generating a live asf stream.
- * asfmux has to set its 'is-live' property to true, because in this
+ * asfmux has to set its 'streamable' property to true, because in this
* mode it won't try to seek back to the start of the file to replace
* some fields that couldn't be known at the file start. In this mode,
* it won't also send indexes at the end of the data packets (the actual
@@ -54,7 +54,7 @@
* <para>(write everything in one line, without the backslash characters)</para>
* Server (sender)
* |[
- * gst-launch -ve videotestsrc ! ffenc_wmv2 ! asfmux name=mux is-live=true \
+ * gst-launch -ve videotestsrc ! ffenc_wmv2 ! asfmux name=mux streamable=true \
* ! rtpasfpay ! udpsink host=127.0.0.1 port=3333 \
* audiotestsrc ! ffenc_wmav2 ! mux.
* ]|
@@ -90,7 +90,6 @@ enum
PROP_PREROLL,
PROP_MERGE_STREAM_TAGS,
PROP_PADDING,
- PROP_IS_LIVE,
PROP_STREAMABLE
};
@@ -260,10 +259,6 @@ gst_asf_mux_class_init (GstAsfMuxClass * klass)
0, G_MAXUINT64,
DEFAULT_PADDING,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
- g_object_class_install_property (gobject_class, PROP_IS_LIVE,
- g_param_spec_boolean ("is-live", "Is Live (deprecated)",
- "Deprecated in 0.10.20, use 'streamable' instead",
- DEFAULT_STREAMABLE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_STREAMABLE,
g_param_spec_boolean ("streamable", "Streamable",
"If set to true, the output should be as if it is to be streamed "
@@ -2333,11 +2328,6 @@ gst_asf_mux_get_property (GObject * object,
case PROP_PADDING:
g_value_set_uint64 (value, asfmux->prop_padding);
break;
- case PROP_IS_LIVE:
- 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:
g_value_set_boolean (value, asfmux->prop_streamable);
break;
@@ -2367,10 +2357,6 @@ gst_asf_mux_set_property (GObject * object,
case PROP_PADDING:
asfmux->prop_padding = g_value_get_uint64 (value);
break;
- case PROP_IS_LIVE:
- g_warning ("This property is deprecated, use 'streamable' instead");
- asfmux->prop_streamable = g_value_get_boolean (value);
- break;
case PROP_STREAMABLE:
asfmux->prop_streamable = g_value_get_boolean (value);
break;