Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Desmottes
gstreamer
Commits
7b836f7a
Commit
7b836f7a
authored
Jul 04, 2022
by
Guillaume Desmottes
🐐
Browse files
rtmp2sink: rename "stats" property to "rtmp-stats"
This was shadowing the GstBaseSink::stats property.
parent
b06a97c4
Pipeline
#629123
waiting for manual action with stages
in 56 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
subprojects/gst-plugins-bad/gst/rtmp2/gstrtmp2sink.c
View file @
7b836f7a
...
...
@@ -149,7 +149,7 @@ enum
PROP_ASYNC_CONNECT
,
PROP_PEAK_KBPS
,
PROP_CHUNK_SIZE
,
PROP_STATS
,
PROP_
RTMP_
STATS
,
PROP_STOP_COMMANDS
,
};
...
...
@@ -230,9 +230,10 @@ gst_rtmp2_sink_class_init (GstRtmp2SinkClass * klass)
GST_RTMP_DEFAULT_CHUNK_SIZE
,
G_PARAM_READWRITE
|
G_PARAM_STATIC_STRINGS
|
GST_PARAM_MUTABLE_PLAYING
));
g_object_class_install_property
(
gobject_class
,
PROP_STATS
,
g_param_spec_boxed
(
"stats"
,
"Stats"
,
"Retrieve a statistics structure"
,
GST_TYPE_STRUCTURE
,
G_PARAM_READABLE
|
G_PARAM_STATIC_STRINGS
));
g_object_class_install_property
(
gobject_class
,
PROP_RTMP_STATS
,
g_param_spec_boxed
(
"rtmp-stats"
,
"RTMP Stats"
,
"Retrieve a statistics structure"
,
GST_TYPE_STRUCTURE
,
G_PARAM_READABLE
|
G_PARAM_STATIC_STRINGS
));
/**
* GstRtmp2Sink:stop-commands:
...
...
@@ -480,7 +481,7 @@ gst_rtmp2_sink_get_property (GObject * object, guint property_id,
g_value_set_uint
(
value
,
self
->
chunk_size
);
GST_OBJECT_UNLOCK
(
self
);
break
;
case
PROP_STATS
:
case
PROP_
RTMP_
STATS
:
g_value_take_boxed
(
value
,
gst_rtmp2_sink_get_stats
(
self
));
break
;
case
PROP_STOP_COMMANDS
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment