From 57b0a0a695977d67fcd427e5bd2c8bb6cc4feb73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sun, 23 Aug 2026 20:36:27 +0200 Subject: [PATCH] stream_dvdnav,demux_disc: clean up log messages --- demux/demux_disc.c | 3 ++- stream/stream_dvdnav.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/demux/demux_disc.c b/demux/demux_disc.c index 86557a711c..4ee214bd70 100644 --- a/demux/demux_disc.c +++ b/demux/demux_disc.c @@ -292,7 +292,8 @@ static bool d_read_packet(struct demuxer *demuxer, struct demux_packet **out_pkt pkt->dts += delta; } - MP_TRACE(demuxer, "opts: %d %f %f\n", sh->type, pkt->pts, pkt->dts); + MP_TRACE(demuxer, "mapped pkt: type=%d pts=%f dts=%f\n", + sh->type, pkt->pts, pkt->dts); *out_pkt = pkt; return 1; diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index ad688f109b..f11523ba07 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -298,7 +298,7 @@ static int fill_buffer(stream_t *s, void *buf, int max_len) } if (event != DVDNAV_BLOCK_OK) { const char *name = LOOKUP_NAME(mp_dvdnav_events, event); - MP_TRACE(s, "DVDNAV: event %s (%d).\n", name, event); + MP_TRACE(s, "event %s (%d)\n", name, event); } switch (event) { case DVDNAV_BLOCK_OK: @@ -629,7 +629,7 @@ static int open_s_internal(stream_t *stream) if (p->track >= 0) { priv->title = p->track; if (dvdnav_title_play(priv->dvdnav, p->track + 1) != DVDNAV_STATUS_OK) { - MP_FATAL(stream, "dvdnav_stream, couldn't select title %d, error '%s'\n", + MP_FATAL(stream, "couldn't select title %d, error '%s'\n", p->track, dvdnav_err_to_string(priv->dvdnav)); ret = STREAM_UNSUPPORTED; goto err;