mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
scenario: Do not remove GSource if it has never been set
This commit is contained in:
parent
705f8e7766
commit
ac92d5b428
1 changed files with 2 additions and 1 deletions
|
@ -729,6 +729,7 @@ _pipeline_freed_cb (GstValidateScenario * scenario,
|
|||
{
|
||||
GstValidateScenarioPrivate *priv = scenario->priv;
|
||||
|
||||
if (priv->get_pos_id)
|
||||
g_source_remove (priv->get_pos_id);
|
||||
priv->pipeline = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue