Skip to content

Commit da40efd

Browse files
author
Clement Champetier
committed
FormatContext: log info when seek
1 parent f757baf commit da40efd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AvTranscoder/file/FormatContext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ bool FormatContext::seek( uint64_t position, const int flag )
147147
if( (int)getStartTime() != AV_NOPTS_VALUE )
148148
position += getStartTime();
149149

150+
LOG_INFO( "Seek in '" << _avFormatContext->filename << "' at " << position << " (in AV_TIME_BASE units)" )
150151
int err = av_seek_frame( _avFormatContext, -1, position, flag );
151152
if( err < 0 )
152153
{

0 commit comments

Comments
 (0)