[totem/wip/hadess/simplify-text-sub: 4/5] backend: Better debug in print_lang_list()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/simplify-text-sub: 4/5] backend: Better debug in print_lang_list()
- Date: Fri, 11 Feb 2022 22:04:04 +0000 (UTC)
commit d4593d7d2cccbe0e33164ff5a4c2cdd45b087290
Author: Bastien Nocera <hadess hadess net>
Date: Fri Feb 11 21:13:23 2022 +0100
backend: Better debug in print_lang_list()
src/backend/bacon-video-widget.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 804fe43be..9814d1e7f 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -2906,6 +2906,11 @@ print_lang_list (GList *list)
{
GList *l;
+ if (list == NULL) {
+ GST_DEBUG (" Empty list");
+ return;
+ }
+
for (l = list; l != NULL; l = l->next) {
BvwLangInfo *info = l->data;
GST_DEBUG (" %d: %s / %s / %s", info->id,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]