[Bug 766607] player: problems with unit tests

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat May 21 07:07:34 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766607

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Guillaume Desmottes from comment #0)

> - Some tests, including at least test_play_media_info, are sometimes
> failing. It's a race when unreffing the player doesn't drop the last
> reference (because an internal operation is keeping a temporary ref) and
> then the media_info_updated_cb callback is called with a TestPlayerState
> pointer which is now invalid. Not sure what's the proper way to fix this one.

The test should a) call gst_player_stop() at the end (not solving the problem
but still), and b) disconnect from all signal it connected to before it makes
the player go away.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list