pipe.quit();
}
};
pipe.getBus().connect(signal);
GErrorStruct msg = new GErrorStruct();
pipe.play();
gst.gst_element_post_message(pipe.src, gst.gst_message_new_warning(pipe.src, msg, "testing warning messages"));
pipe.run();
pipe.getBus().disconnect(signal);
pipe.dispose();