Commit: 2e4627c3c92ed823cb976b0a48d5463c2b187fec
Parent: 8fe1e5e165ad7b4f7c318f507aa85cd747401b81
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-02-22 21:38:19
Tree: 6fd1f83fce19f54ed6231d30daa9c89b40ae6a3c

player: Fix Track being emitted with empty metadata This sometimes causes the Track to be schedule while some metadata are still pending, also don't remove the Duration from track when updating its metadata since Duration is typically updated by player status rather than metadata. Fixes: https://github.com/bluez/bluez/issues/291

Diffstat

M profiles/audio/avrcp.c | 4 ++++
M profiles/audio/player.c | 74 +++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M profiles/audio/player.h | 2 ++

3 files changed, 45 insertions(+), 35 deletions(-)

View Full Diff | Patch