If no video sink is set and autovideosink is not available for some reason, post a proper error message on the bus when failing to change state, and don't try to gst_object_ref() NULL pointers. Fixes generic/states unit test when distchecking.
If no video sink is set and autovideosink is not available for some reason, post a proper error message on the bus when failing to change state, and don't try to gst_object_ref() NULL pointers. Fixes generic/states unit test when distchecking.