The crash does not happen when the video is played directly with gstreamer (e.g. gst-play-1.0 from a terminal).