gst_pad_get_caps -> gst_pad_query_caps
gst_default_registry_* -> gst_registry_*(gst_registry_get(), ...)
Have to use pull_sample instead of pull_buffer now
This should be const void * (gconstptr)