From 1e6003b4de7516031d3cf823c5e0e0fa38457b0b Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi

Date: Mon, 4 Dec 2023 11:04:56 +0200

Subject: [PATCH 1/1] Media: Fixed premature notification about audio playback

Only notify when the Player has actually started and not when we

just attempted to do so.


src/media.c | 5 +++--

1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/media.c b/src/media.c

index df90fd6f..b9d66dd9 100644

--- a/src/media.c

+++ b/src/media.c

@@ -469,8 +469,9 @@ iBool setData_Media(iMedia *d, iGmLinkId linkId, const iString *mime, const iBlo

         }

         pushBack_PtrArray(&d->items[audio_MediaType], audio);

         /* Start playing right away. */

         isNew = iTrue;

#endif /* LAGRANGE_ENABLE_AUDIO */

     }

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.10/patch/1e6003b4de7516031d3cf823c5e0e0fa38457b0b.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
58.128538 milliseconds
Gemini-to-HTML Time
0.605935 milliseconds

This content has been proxied by September (ba2dc).