Created attachment 241180 [details] Relevant valgrind trace Webkit2 sometimes crash when playing that video: http://demo.unified-streaming.com/video/smurfs/smurfs.ism/smurfs.mpd?format=mp4 The crash happens when DASH decides to change the video's resolution (it's adaptative). When gstreamer sends caps it means that the NEXT buffer will have that new resolution, but a race can occure and webkit will use that new caps for the PREVIOUS buffer. That lead to a crash because the resolution (thus buffer size) mismatch.
Created attachment 241182 [details] Proposed patch This patch makes sure we always use the GstCaps that goes with the GstBuffer.
Oops, already fixed. *** This bug has been marked as a duplicate of bug 137065 ***