Skip to content

Commit c86c4e1

Browse files
author
Clement Champetier
committed
InputFile: update log when error during seek
1 parent 96babd5 commit c86c4e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/file/InputFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void InputFile::seek( uint64_t position )
160160

161161
if( av_seek_frame( &_formatContext.getAVFormatContext(), -1, position, AVSEEK_FLAG_BACKWARD ) < 0 )
162162
{
163-
std::cerr << "Error during seek at " << position << " seconds in file" << std::endl;
163+
std::cerr << "Error during seek at " << position << " (in AV_TIME_BASE units) in file" << std::endl;
164164
}
165165

166166
for( std::vector<InputStream*>::iterator it = _inputStreams.begin(); it != _inputStreams.end(); ++it )

0 commit comments

Comments
 (0)