You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
img_convert_ctx isn't freed on close()
ffmpeg::sws_getCachedContext() tries to use an already existing context but
fails because initVars() sets img_convert_ctx to zero. So a new context is
allocated on every new video.
Adding the following lines to QVideoEncoder::close() (before initVars) solves
the problem:
// free the sws-context
sws_freeContext(img_convert_ctx);
Another solution would be of course to remove the corresponding line from
initVars()
regards
Frederik Pasch
Original issue reported on code.google.com by [email protected] on 14 Feb 2011 at 2:36
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 14 Feb 2011 at 2:36The text was updated successfully, but these errors were encountered: