GNOME Bugzilla – Bug 782543
vaapisink: disabled event thread when PLAYING->NULL->PLAYING
Last modified: 2017-05-12 15:34:43 UTC
When state of vaapisink is changed from PLAYING to NULL, the handle_events flag is set to FALSE, and never recovered, and then event thread is never going to run.
Created attachment 351698 [details] [review] vaapisink: keep handle_events flag except that if user want to set When state of vaapisink is changed from PLAYING to NULL, the handle_events flag is set to FALSE, and never recovered, and then event thread is never going to run. So we should allow to set the flag only when users try it.
Review of attachment 351698 [details] [review]: This patch can be simplified a two-liner patch: only set sink->handler_event at the function gst_vaapisink_video_overlay_set_event_handling(), and delete the setting in gst_vaapisink_set_event_handling(). The rest remains as is.
Created attachment 351709 [details] [review] vaapisink: keep handle_events flag except that if user want to set When state of vaapisink is changed from PLAYING to NULL, the handle_events flag is set to FALSE, and never recovered, and then event thread is never going to run. So we should allow to set the flag only when users try it.
Attachment 351709 [details] pushed as 5ab5113 - vaapisink: keep handle_events flag except that if user want to set
branch 1.10 1714489c (HEAD -> 1.10, origin/1.10, ceyusa/1.10) vaapisink: keep handle_events flag except that if user want to set
branch 1.12 * aaaf8d2b vaapisink: keep handle_events flag except that if user want to set