Skip to content

Commit c58ebe7

Browse files
more information on seek error message
1 parent 314ff48 commit c58ebe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/InputFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ void InputFile::seekAtFrame( const size_t frame )
196196

197197
if( av_seek_frame( m_formatContext, -1, pos, AVSEEK_FLAG_BACKWARD ) < 0 )
198198
{
199-
std::cerr << "Error during seek in file" << std::endl;
199+
std::cerr << "Error during seek at " << frame << " (" << pos << ") in file" << std::endl;
200200
}
201201

202202
for( std::vector<AvInputStream*>::iterator it = m_inputStreams.begin(); it != m_inputStreams.end(); ++it )

0 commit comments

Comments
 (0)