mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
media tests: unref thread pool and caps
https://bugzilla.gnome.org/show_bug.cgi?id=707638
This commit is contained in:
parent
19178a413c
commit
c15c659b40
1 changed files with 4 additions and 0 deletions
|
@ -91,6 +91,8 @@ GST_START_TEST (test_launch)
|
|||
|
||||
gst_rtsp_url_free (url);
|
||||
g_object_unref (factory);
|
||||
|
||||
g_object_unref (pool);
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
@ -200,6 +202,7 @@ on_notify_caps (GstPad * pad, GParamSpec * pspec, GstElement * pay)
|
|||
if (caps) {
|
||||
g_signal_emit_by_name (pay, "pad-added", pad);
|
||||
g_signal_emit_by_name (pay, "no-more-pads", NULL);
|
||||
gst_caps_unref (caps);
|
||||
} else {
|
||||
g_signal_emit_by_name (pay, "pad-removed", pad);
|
||||
}
|
||||
|
@ -263,6 +266,7 @@ GST_START_TEST (test_media_dyn_prepare)
|
|||
|
||||
gst_object_unref (srcpad);
|
||||
g_object_unref (media);
|
||||
g_object_unref (pool);
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
|
Loading…
Reference in a new issue