decklink: Add element errors for failed configuration
Previously, a failed device configuration would be reported as a negotiation failure. Change this and similar cases to a resource configuration error.
Testing:
- With a DeckLink Intensity Pro or other card with default input->output passthrough, find a variant of this pipeline that works (i.e., set the mode and connection): decklinkvideosrc ! fakesink
- Stop that pipeline.
- Start a new pipeline: decklinkvideosrc ! decklinkvideosink , using the src parameters from above. This should error, because the Intensity Pro does not handle full-duplex. Observe the error message.
- Check that there is a resource error.
- Check that there is no negotiation failure error (previous buggy behavior).
- Stop that pipeline. Start a new pipeline: decklinksrc ! fakesink. Leaving that pipeline running, start a second pipeline: videotestsrc ! decklinksink.
- Check that there is a resource error.
- Check that there is no negotiation failure error (previous buggy behavior).