GNOME Bugzilla – Bug 766001
glimagesink: Issue when changing source while in PAUSED state
Last modified: 2016-05-06 04:35:04 UTC
Created attachment 327311 [details] Test case See attached test case. What it does it playing a video, then pause it and switch to a jpeg image source instead. Since pipeline stay in PAUSED state, the new jpeg should be displayed by the sink and then block in wait_preroll() and EOS shouldn't pass. Replacing glimagesink by xvimagesink makes that test case pass.
Ok, maybe my fault, I have to add: gst_pad_set_offset (src_pad, gst_element_get_start_time (ctx->pipeline)); Otherwise glupload's base_transform decides to drop that DISCONT buffer.