GNOME Bugzilla – Bug 753822
assrender: do not crash when video frame mapping fails
Last modified: 2015-08-28 18:28:09 UTC
Created attachment 309577 [details] [review] check video frame mapping succeeded before blending If the mapping fails just skip overlay rendering and push the video frame downstream.
Review of attachment 309577 [details] [review]: ::: ext/assrender/gstassrender.c @@ +1238,2 @@ } else { GST_DEBUG_OBJECT (render, "nothing to render right now"); Here you should probably set render->composition to NULL. In the old code, if this case was reached no overlaying was happening. In your code, you would render whatever render->composition contains currently.
render->composition is set to NULL when ass_image is NULL just above.
commit 6a884bf08d21921af5907249a72c9ea26e4fa8ea Author: Arnaud Vrac <avrac@freebox.fr> Date: Thu Jan 31 14:03:40 2013 +0100 assrender: check video frame mapping succeeded before blending If the mapping fails just skip overlay rendering and push the video frame downstream. https://bugzilla.gnome.org/show_bug.cgi?id=753822