[vlc-commits] dialog: also update text with indeterminate progress
Thomas Guillem
git at videolan.org
Fri Sep 15 17:34:03 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Sep 15 17:32:12 2017 +0200| [21ded5000df69c776cb112c5189de033eaf4ea77] | committer: Thomas Guillem
dialog: also update text with indeterminate progress
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=21ded5000df69c776cb112c5189de033eaf4ea77
---
src/interface/dialog.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/interface/dialog.c b/src/interface/dialog.c
index 38ec83b0db..9d9f4a7704 100644
--- a/src/interface/dialog.c
+++ b/src/interface/dialog.c
@@ -645,11 +645,8 @@ dialog_update_progress(vlc_object_t *p_obj, vlc_dialog_id *p_id, float f_value,
}
if (p_id->b_progress_indeterminate)
- {
- vlc_mutex_unlock(&p_provider->lock);
- free(psz_text);
- return VLC_EGENERIC;
- }
+ f_value = 0.0f;
+
if (psz_text != NULL)
{
free(p_id->psz_progress_text);
More information about the vlc-commits
mailing list