Commit a003a1cc authored by Simon Morlat's avatar Simon Morlat
Browse files

fix in android video capture: current pending buffer was not freed in...

fix in android video capture: current pending buffer was not freed in postprocess() resulting in possibly incorrect buffer sent during a device rotation
parent 94626090
......@@ -338,6 +338,10 @@ static void video_capture_postprocess(MSFilter *f){
}
d->androidCamera = 0;
d->previewWindow = 0;
if (d->frame){
freemsg(d->frame);
d->frame=NULL;
}
ms_mutex_unlock(&d->mutex);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment