Switcher segfaults when a videnc quiddity fails to create its codec
This sometimes happens with the nvenc encoder selected as the default encoder, the codec_element_ pointer is equals to 0 and is passed to a gst method that crashes.
We can add some safety by checking the boolean returned by the remake_codec_element
function in video-codec.cpp