Change PlaYUVerStream in order to handle different interfaces to read and write streams
This commit is contained in:
@@ -191,6 +191,11 @@ Bool LibAvContextHandle::initAvFormat( char* filename, UInt& width, UInt& height
|
||||
break;
|
||||
}
|
||||
}
|
||||
if( pixel_format == PlaYUVerFrame::NO_FMT )
|
||||
{
|
||||
closeAvFormat();
|
||||
return false;
|
||||
}
|
||||
|
||||
/* dump input information to stderr */
|
||||
av_dump_format( fmt_ctx, 0, src_filename, 0 );
|
||||
|
||||
Reference in New Issue
Block a user