summaryrefslogtreecommitdiff
path: root/gst/rtmp2/gstrtmp2sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtmp2/gstrtmp2sink.c')
-rw-r--r--gst/rtmp2/gstrtmp2sink.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/gst/rtmp2/gstrtmp2sink.c b/gst/rtmp2/gstrtmp2sink.c
index 72026eb87..34637fcf7 100644
--- a/gst/rtmp2/gstrtmp2sink.c
+++ b/gst/rtmp2/gstrtmp2sink.c
@@ -149,7 +149,9 @@ enum
PROP_PEAK_KBPS,
PROP_CHUNK_SIZE,
PROP_STATS,
+#if 0
PROP_STOP_COMMANDS,
+#endif
};
/* pad templates */
@@ -231,7 +233,8 @@ gst_rtmp2_sink_class_init (GstRtmp2SinkClass * klass)
g_param_spec_boxed ("stats", "Stats", "Retrieve a statistics structure",
GST_TYPE_STRUCTURE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
- /**
+#if 0
+ /*
* GstRtmp2Sink:stop-commands:
*
* Which commands (if any) to send on EOS event before closing connection
@@ -243,6 +246,7 @@ gst_rtmp2_sink_class_init (GstRtmp2SinkClass * klass)
"RTMP commands to send on EOS event before closing connection",
GST_TYPE_RTMP_STOP_COMMANDS, GST_RTMP_DEFAULT_STOP_COMMANDS,
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
+#endif
gst_type_mark_as_plugin_api (GST_TYPE_RTMP_LOCATION_HANDLER, 0);
GST_DEBUG_CATEGORY_INIT (gst_rtmp2_sink_debug_category, "rtmp2sink", 0,
@@ -378,11 +382,13 @@ gst_rtmp2_sink_set_property (GObject * object, guint property_id,
set_chunk_size (self);
g_mutex_unlock (&self->lock);
break;
+#if 0
case PROP_STOP_COMMANDS:
GST_OBJECT_LOCK (self);
self->stop_commands = g_value_get_flags (value);
GST_OBJECT_UNLOCK (self);
break;
+#endif
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
break;
@@ -480,11 +486,13 @@ gst_rtmp2_sink_get_property (GObject * object, guint property_id,
case PROP_STATS:
g_value_take_boxed (value, gst_rtmp2_sink_get_stats (self));
break;
+#if 0
case PROP_STOP_COMMANDS:
GST_OBJECT_LOCK (self);
g_value_set_flags (value, self->stop_commands);
GST_OBJECT_UNLOCK (self);
break;
+#endif
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
break;