Start avpicture deprecation
This commit is contained in:
parent
28e94764d7
commit
e70d037895
|
@ -182,8 +182,8 @@ int FfmpegCamera::Capture( Image &image )
|
||||||
if ( frameComplete )
|
if ( frameComplete )
|
||||||
{
|
{
|
||||||
Debug( 3, "Got frame %d", frameCount );
|
Debug( 3, "Got frame %d", frameCount );
|
||||||
|
av_image_fill_arrays(mFrame->data, mFrame->linesize, directbuffer, imagePixFormat, width, height, 1);
|
||||||
avpicture_fill( (AVPicture *)mFrame, directbuffer, imagePixFormat, width, height);
|
//avpicture_fill( (AVPicture *)mFrame, directbuffer, imagePixFormat, width, height);
|
||||||
|
|
||||||
#if HAVE_LIBSWSCALE
|
#if HAVE_LIBSWSCALE
|
||||||
if(mConvertContext == NULL) {
|
if(mConvertContext == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue