Hello,

I'm having a bit of trouble with my SwsContext. The sws_getContext call is returning NULL when I attempt use an image of size 2480x720. I'm calling the function using:

SwsContext * swsContext = sws_getContext(m_codecCtx->width, m_codecCtx->height, m_codecCtx->pix_fmt, m_codecCtx->width, m_codecCtx->height, PIX_FMT_RGB24, SWS_POINT, NULL, NULL, NULL);

Everything is working fine on my 1240x720 image, so I don't know if I am running up against a hard size limit or something.
Any help would be greatly appreciated,
Brian!

--
Brian McKinnon
2D Software Developer
[email protected]

Frantic Films
300-70 Arthur Street
Winnipeg, Manitoba
R3B 1G7
Canada
204.949.0070 P
204.949.0050 F
http://software.franticfilms.com/

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to