add more debug code
This commit is contained in:
parent
7b0a14ee72
commit
6366d137bc
|
@ -547,7 +547,9 @@ int FfmpegCamera::CaptureAndRecord( Image &image, bool recording, char* event_fi
|
|||
|
||||
int frameComplete = false;
|
||||
while ( !frameComplete ) {
|
||||
Debug(5, "Before av_read_frame");
|
||||
int avResult = av_read_frame( mFormatContext, &packet );
|
||||
Debug(5, "After av_read_frame (%d)", avResult );
|
||||
if ( avResult < 0 ) {
|
||||
char errbuf[AV_ERROR_MAX_STRING_SIZE];
|
||||
av_strerror(avResult, errbuf, AV_ERROR_MAX_STRING_SIZE);
|
||||
|
|
Loading…
Reference in New Issue