summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-29 23:14:19 +0100
committerwm4 <wm4@nowhere>2014-12-29 23:14:19 +0100
commit196d4fce5b326013110aea849d3841b2718d604b (patch)
tree3d0ee681d87d15bb75bd414629ebc88640a40aa6 /demux
parent8eaa63689a25be909dc31c6a2c8c9dad3777943a (diff)
downloadmpv-196d4fce5b326013110aea849d3841b2718d604b.tar.bz2
mpv-196d4fce5b326013110aea849d3841b2718d604b.tar.xz
demux_mkv: reduce log noise
This message can happen a lot for mkv files which index clusters in the seekhead (which is also broken non-sense, but that's a different story). Also remove a duplicate define from matroska.h.
Diffstat (limited to 'demux')
-rw-r--r--demux/demux_mkv.c4
-rw-r--r--demux/matroska.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c
index 2750015efc..bc9840f39b 100644
--- a/demux/demux_mkv.c
+++ b/demux/demux_mkv.c
@@ -1077,8 +1077,8 @@ static int demux_mkv_read_seekhead(demuxer_t *demuxer)
continue;
}
uint64_t pos = seek->seek_position + mkv_d->segment_start;
- MP_VERBOSE(demuxer, "Element 0x%x at %"PRIu64".\n",
- (unsigned)seek->seek_id, pos);
+ MP_DBG(demuxer, "Element 0x%x at %"PRIu64".\n",
+ (unsigned)seek->seek_id, pos);
get_header_element(demuxer, seek->seek_id, pos);
// This is nice to warn against incomplete files.
int64_t end = 0;
diff --git a/demux/matroska.h b/demux/matroska.h
index 63ef7708ab..a5d33b90ff 100644
--- a/demux/matroska.h
+++ b/demux/matroska.h
@@ -81,7 +81,6 @@
#define MKV_V_UNCOMPRESSED "V_UNCOMPRESSED"
#define MKV_V_DIRAC "V_DIRAC"
#define MKV_V_PRORES "V_PRORES"
-#define MKV_V_PRORES "V_PRORES"
#define MKV_V_HEVC "V_MPEGH/ISO/HEVC"
#define MKV_S_TEXTASCII "S_TEXT/ASCII"