fix bugs for gst-plugins-base