I only want to change to gst.STATE_PLAYING or gst.STATE_PAUSED if the pipeline currently has a file loaded. Not doing this can cause an exception in position() when get_state() returns gst.STATE_READY instead of gst.STATE_NULL.