Merge pull request #12137 from iwubcode/custom_pipeline_more_error_checking VideoCommon: additional error checking for CustomPipelineAction