stream_dvdnav,demux_disc: clean up log messages
This commit is contained in:
1 parent
654e9382c0
commit
57b0a0a695
2 files changed
+4
-3
No files matched your search
+2
-1
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user