Adapt stream example to gst api change.

No idea when it happened.