mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 12:21:17 +00:00
validate: scenario: Add a method to get the following action to be executed
API: + gst_validate_scenario_get_next_action https://bugzilla.gnome.org/show_bug.cgi?id=743994
This commit is contained in:
parent
8125c46122
commit
9f5310b1d8
2 changed files with 13 additions and 0 deletions
|
@ -2280,6 +2280,16 @@ gst_validate_print_action_types (const gchar ** wanted_types,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
GstValidateAction *
|
||||
gst_validate_scenario_get_next_action (GstValidateScenario * scenario)
|
||||
{
|
||||
if (scenario->priv->actions && scenario->priv->actions->next)
|
||||
return (GstValidateAction *) gst_mini_object_ref ((GstMiniObject *)
|
||||
scenario->priv->actions->next->data);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
init_scenarios (void)
|
||||
{
|
||||
|
|
|
@ -257,6 +257,9 @@ gboolean gst_validate_scenario_execute_seek (GstValidateScenario *scenario,
|
|||
GstSeekType stop_type,
|
||||
GstClockTime stop);
|
||||
|
||||
GstValidateAction *
|
||||
gst_validate_scenario_get_next_action (GstValidateScenario *scenario);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_VALIDATE_SCENARIOS__ */
|
||||
|
|
Loading…
Reference in a new issue