diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-03-24 14:02:37 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-03-24 14:02:37 +0300 |
commit | b3ea3eae67055e03bee73046c3e092cb2294c93a (patch) | |
tree | 4b76b6bcb359e21f36e87cbd95fe7827d29db09d | |
parent | 08748e6fcdb729096d3a38f6e9a89b7b7dfdc370 (diff) |
Log a message when falling back to byte seeking
-rw-r--r-- | demuxer/Demuxers/LAVFDemuxer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/demuxer/Demuxers/LAVFDemuxer.cpp b/demuxer/Demuxers/LAVFDemuxer.cpp index c58e321c..dd3c1f09 100644 --- a/demuxer/Demuxers/LAVFDemuxer.cpp +++ b/demuxer/Demuxers/LAVFDemuxer.cpp @@ -1229,8 +1229,10 @@ retry: seekStreamId = m_dActiveStreams[audio]; goto retry; } - if (seek_pts == 0) + if (seek_pts == 0) { + DbgLog((LOG_ERROR, 1, L" -> attempting byte seek to position 0")); return SeekByte(0, AVSEEK_FLAG_BACKWARD); + } } } |