mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
test-replay-server: minor spelling corrections
Bumped on these while investigating the example code. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/200>
This commit is contained in:
parent
846442c256
commit
5df7f9a7e0
1 changed files with 4 additions and 4 deletions
|
@ -361,7 +361,7 @@ replay_bin_sink_probe (GstPad * pad, GstPadProbeInfo * info,
|
||||||
|
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
case GST_EVENT_SEEK:
|
case GST_EVENT_SEEK:
|
||||||
/* Ideally this shouldn't happen because we are responsing
|
/* Ideally this shouldn't happen because we are responding
|
||||||
* seeking query with non-seekable */
|
* seeking query with non-seekable */
|
||||||
GST_DEBUG_OBJECT (pad, "Drop seek event");
|
GST_DEBUG_OBJECT (pad, "Drop seek event");
|
||||||
ret = GST_PAD_PROBE_DROP;
|
ret = GST_PAD_PROBE_DROP;
|
||||||
|
@ -496,7 +496,7 @@ pad_added_cb (GstElement * dbin, GstPad * pad, GstReplayBin * self)
|
||||||
/* block data for initial segment seeking */
|
/* block data for initial segment seeking */
|
||||||
bin_pad = g_new0 (GstReplayBinPad, 1);
|
bin_pad = g_new0 (GstReplayBinPad, 1);
|
||||||
|
|
||||||
/* Move owenership of pad to this struct */
|
/* Move ownership of pad to this struct */
|
||||||
bin_pad->srcpad = gst_object_ref (dpad);
|
bin_pad->srcpad = gst_object_ref (dpad);
|
||||||
bin_pad->block_id =
|
bin_pad->block_id =
|
||||||
gst_pad_add_probe (dpad, GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM,
|
gst_pad_add_probe (dpad, GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM,
|
||||||
|
@ -697,7 +697,7 @@ gst_rtsp_media_factory_replay_class_init (GstRTSPMediaFactoryReplayClass
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_NUM_LOOPS,
|
g_object_class_install_property (gobject_class, PROP_NUM_LOOPS,
|
||||||
g_param_spec_int64 ("num-loops", "Num Loops",
|
g_param_spec_int64 ("num-loops", "Num Loops",
|
||||||
"The number of loops (-1 = infiniate)", -1, G_MAXINT64,
|
"The number of loops (-1 = infinite)", -1, G_MAXINT64,
|
||||||
DEFAULT_NUM_LOOPS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
DEFAULT_NUM_LOOPS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
mf_class->create_element =
|
mf_class->create_element =
|
||||||
|
@ -866,7 +866,7 @@ main (int argc, char *argv[])
|
||||||
gint64 num_loops = -1;
|
gint64 num_loops = -1;
|
||||||
GOptionEntry options[] = {
|
GOptionEntry options[] = {
|
||||||
{"num-loops", 0, 0, G_OPTION_ARG_INT64, &num_loops,
|
{"num-loops", 0, 0, G_OPTION_ARG_INT64, &num_loops,
|
||||||
"The number of loops (default = -1, infinate)", NULL},
|
"The number of loops (default = -1, infinite)", NULL},
|
||||||
{NULL}
|
{NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue