diff options
author | Mark Ryan <mark.d.ryan@intel.com> | 2013-09-11 14:30:32 +0200 |
---|---|---|
committer | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2013-11-26 11:12:38 +0200 |
commit | ca60c81123740b602424e59d9a2eaf9c2ab8c31a (patch) | |
tree | 7609d5e9920c9072255eab2b6e1db8d3130db329 /doc | |
parent | c460839c00c5b2540d464f3479d3c532351c2398 (diff) | |
download | gupnp-dlna-ca60c81123740b602424e59d9a2eaf9c2ab8c31a.tar.gz |
Fix hang if no backends are available
This patch prevents gupnp-dlna from hanging when no meta data extracting
backends are available. The problem occurs as the existing code passes a
value of 0 into g_once_init_leave if a backend cannot be loaded. You're
not allowed to do this and as a result load_metadata_backend hangs the
next time it is called. The patch fixes the problem by using 1 and 2 to
indicate failure and success, respectively.
https://bugzilla.gnome.org/show_bug.cgi?id=707909
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions