mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
API cleanup: (s/g)et_sched -> _scheduler
Original commit message from CVS: API cleanup: (s/g)et_sched -> _scheduler
This commit is contained in:
parent
417a7f9408
commit
e8982eaf0f
10 changed files with 28 additions and 28 deletions
|
@ -361,8 +361,8 @@ GstElementSetClockFunction
|
|||
|
||||
gst_element_set_loop_function
|
||||
GstElementLoopFunction
|
||||
gst_element_get_sched
|
||||
gst_element_set_sched
|
||||
gst_element_get_scheduler
|
||||
gst_element_set_scheduler
|
||||
gst_element_get_parent
|
||||
gst_element_set_parent
|
||||
gst_element_get_managing_bin
|
||||
|
@ -603,9 +603,9 @@ gst_pad_set_element_private
|
|||
gst_pad_get_element_private
|
||||
gst_pad_set_parent
|
||||
gst_pad_get_parent
|
||||
gst_pad_get_sched
|
||||
gst_pad_set_sched
|
||||
gst_pad_unset_sched
|
||||
gst_pad_get_scheduler
|
||||
gst_pad_set_scheduler
|
||||
gst_pad_unset_scheduler
|
||||
gst_pad_get_real_parent
|
||||
gst_pad_add_ghost_pad
|
||||
gst_pad_remove_ghost_pad
|
||||
|
|
|
@ -470,7 +470,7 @@ circumstances.
|
|||
@element: The element in question.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_element_get_sched ##### -->
|
||||
<!-- ##### FUNCTION gst_element_get_scheduler ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
@ -479,7 +479,7 @@ circumstances.
|
|||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_element_set_sched ##### -->
|
||||
<!-- ##### FUNCTION gst_element_set_scheduler ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
|
|
@ -449,7 +449,7 @@ Destroy the pad.
|
|||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_pad_get_sched ##### -->
|
||||
<!-- ##### FUNCTION gst_pad_get_scheduler ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
@ -458,7 +458,7 @@ Destroy the pad.
|
|||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_pad_set_sched ##### -->
|
||||
<!-- ##### FUNCTION gst_pad_set_scheduler ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
@ -467,7 +467,7 @@ Destroy the pad.
|
|||
@sched:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_pad_unset_sched ##### -->
|
||||
<!-- ##### FUNCTION gst_pad_unset_scheduler ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
|
|
@ -1785,7 +1785,7 @@ gst_element_interrupt (GstElement *element)
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_element_set_sched:
|
||||
* gst_element_set_scheduler:
|
||||
* @element: Element to set manager of.
|
||||
* @sched: @GstScheduler to set.
|
||||
*
|
||||
|
@ -1793,7 +1793,7 @@ gst_element_interrupt (GstElement *element)
|
|||
* writing a new bin subclass.
|
||||
*/
|
||||
void
|
||||
gst_element_set_sched (GstElement *element,
|
||||
gst_element_set_scheduler (GstElement *element,
|
||||
GstScheduler *sched)
|
||||
{
|
||||
g_return_if_fail (GST_IS_ELEMENT (element));
|
||||
|
@ -1804,7 +1804,7 @@ gst_element_set_sched (GstElement *element,
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_element_get_sched:
|
||||
* gst_element_get_scheduler:
|
||||
* @element: Element to get manager of.
|
||||
*
|
||||
* Returns the scheduler of the element.
|
||||
|
@ -1812,7 +1812,7 @@ gst_element_set_sched (GstElement *element,
|
|||
* Returns: Element's scheduler
|
||||
*/
|
||||
GstScheduler*
|
||||
gst_element_get_sched (GstElement *element)
|
||||
gst_element_get_scheduler (GstElement *element)
|
||||
{
|
||||
g_return_val_if_fail (GST_IS_ELEMENT (element), NULL);
|
||||
|
||||
|
|
|
@ -194,8 +194,8 @@ GstClockReturn gst_element_clock_wait (GstElement *element, GstClock *clock,
|
|||
|
||||
void gst_element_yield (GstElement *element);
|
||||
gboolean gst_element_interrupt (GstElement *element);
|
||||
void gst_element_set_sched (GstElement *element, GstScheduler *sched);
|
||||
GstScheduler* gst_element_get_sched (GstElement *element);
|
||||
void gst_element_set_scheduler (GstElement *element, GstScheduler *sched);
|
||||
GstScheduler* gst_element_get_scheduler (GstElement *element);
|
||||
|
||||
void gst_element_add_pad (GstElement *element, GstPad *pad);
|
||||
void gst_element_remove_pad (GstElement *element, GstPad *pad);
|
||||
|
|
12
gst/gstpad.c
12
gst/gstpad.c
|
@ -817,14 +817,14 @@ gst_pad_get_pad_template (GstPad *pad)
|
|||
|
||||
|
||||
/**
|
||||
* gst_pad_set_sched:
|
||||
* gst_pad_set_scheduler:
|
||||
* @pad: the pad to set the scheduler for
|
||||
* @sched: The scheduler to set
|
||||
*
|
||||
* Set the scheduler for the pad
|
||||
*/
|
||||
void
|
||||
gst_pad_set_sched (GstPad *pad, GstScheduler *sched)
|
||||
gst_pad_set_scheduler (GstPad *pad, GstScheduler *sched)
|
||||
{
|
||||
g_return_if_fail (pad != NULL);
|
||||
g_return_if_fail (GST_IS_PAD (pad));
|
||||
|
@ -833,7 +833,7 @@ gst_pad_set_sched (GstPad *pad, GstScheduler *sched)
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_pad_get_sched:
|
||||
* gst_pad_get_scheduler:
|
||||
* @pad: the pad to get the scheduler from
|
||||
*
|
||||
* Get the scheduler of the pad
|
||||
|
@ -841,7 +841,7 @@ gst_pad_set_sched (GstPad *pad, GstScheduler *sched)
|
|||
* Returns: the scheduler of the pad.
|
||||
*/
|
||||
GstScheduler*
|
||||
gst_pad_get_sched (GstPad *pad)
|
||||
gst_pad_get_scheduler (GstPad *pad)
|
||||
{
|
||||
g_return_val_if_fail (pad != NULL, NULL);
|
||||
g_return_val_if_fail (GST_IS_PAD (pad), NULL);
|
||||
|
@ -850,13 +850,13 @@ gst_pad_get_sched (GstPad *pad)
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_pad_unset_sched:
|
||||
* gst_pad_unset_scheduler:
|
||||
* @pad: the pad to unset the scheduler for
|
||||
*
|
||||
* Unset the scheduler for the pad
|
||||
*/
|
||||
void
|
||||
gst_pad_unset_sched (GstPad *pad)
|
||||
gst_pad_unset_scheduler (GstPad *pad)
|
||||
{
|
||||
g_return_if_fail (pad != NULL);
|
||||
g_return_if_fail (GST_IS_PAD (pad));
|
||||
|
|
|
@ -373,9 +373,9 @@ void gst_pad_set_parent (GstPad *pad, GstObject *parent);
|
|||
GstElement* gst_pad_get_parent (GstPad *pad);
|
||||
GstElement* gst_pad_get_real_parent (GstPad *pad);
|
||||
|
||||
void gst_pad_set_sched (GstPad *pad, GstScheduler *sched);
|
||||
GstScheduler* gst_pad_get_sched (GstPad *pad);
|
||||
void gst_pad_unset_sched (GstPad *pad);
|
||||
void gst_pad_set_scheduler (GstPad *pad, GstScheduler *sched);
|
||||
GstScheduler* gst_pad_get_scheduler (GstPad *pad);
|
||||
void gst_pad_unset_scheduler (GstPad *pad);
|
||||
|
||||
void gst_pad_add_ghost_pad (GstPad *pad, GstPad *ghostpad);
|
||||
void gst_pad_remove_ghost_pad (GstPad *pad, GstPad *ghostpad);
|
||||
|
|
|
@ -218,7 +218,7 @@ gst_scheduler_remove_element (GstScheduler *sched, GstElement *element)
|
|||
GstPad *pad = GST_PAD (pads->data);
|
||||
|
||||
if (GST_IS_REAL_PAD (pad)) {
|
||||
gst_pad_unset_sched (GST_PAD (pads->data));
|
||||
gst_pad_unset_scheduler (GST_PAD (pads->data));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -960,7 +960,7 @@ gst_basic_scheduler_add_element (GstScheduler * sched, GstElement * element)
|
|||
continue;
|
||||
|
||||
/* set the pad's sched pointer */
|
||||
gst_pad_set_sched (pad, sched);
|
||||
gst_pad_set_scheduler (pad, sched);
|
||||
|
||||
/* if the peer element exists and is a candidate */
|
||||
if (GST_PAD_PEER (pad)) {
|
||||
|
|
|
@ -700,7 +700,7 @@ gst_fast_scheduler_add_element (GstScheduler * sched, GstElement * element)
|
|||
continue;
|
||||
|
||||
/* set the pad's sched pointer */
|
||||
gst_pad_set_sched (pad, sched);
|
||||
gst_pad_set_scheduler (pad, sched);
|
||||
|
||||
/* if the peer element exists and is a candidate */
|
||||
if (GST_PAD_PEER (pad)) {
|
||||
|
|
Loading…
Reference in a new issue